Working on meshes
This commit is contained in:
parent
c479ccb9e2
commit
7b472fe18d
652 changed files with 81120 additions and 852 deletions
|
|
@ -30,7 +30,7 @@
|
|||
#include "EditTools/RectDrawEditTool.hpp"
|
||||
#include "EditTools/ImageEditTool.hpp"
|
||||
#include "EditTools/EllipseDrawEditTool.hpp"
|
||||
#include "EditTools/BrushEditTool.hpp"
|
||||
#include "EditTools/MeshEditTool.hpp"
|
||||
|
||||
#include "../../GUIStuff/ElementHelpers/TextLabelHelpers.hpp"
|
||||
|
||||
|
|
@ -294,8 +294,8 @@ void EditTool::edit_start(CanvasComponentContainer::ObjInfo* comp, bool initUndo
|
|||
compEditTool = std::make_unique<ImageEditTool>(drawP, comp);
|
||||
break;
|
||||
}
|
||||
case CanvasComponentType::BRUSHSTROKE: {
|
||||
compEditTool = std::make_unique<BrushEditTool>(drawP, comp);
|
||||
case CanvasComponentType::MESH: {
|
||||
compEditTool = std::make_unique<MeshEditTool>(drawP, comp);
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue