MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / modify_grid

Method modify_grid

src/DrawingProgram/DrawingProgram.cpp:559–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void DrawingProgram::modify_grid(const NetworkingObjects::NetObjWeakPtr<WorldGrid>& gridToModify) {
560 std::unique_ptr<GridModifyTool> newTool(std::make_unique<GridModifyTool>(*this));
561 newTool->set_grid(gridToModify);
562 switch_to_tool_ptr(std::move(newTool));
563}
564
565void DrawingProgram::update() {
566 selection.update();

Callers 1

setup_list_guiMethod · 0.80

Calls 1

set_gridMethod · 0.80

Tested by

no test coverage detected