Fixed memory issue when using tools
This commit is contained in:
parent
caf99a8675
commit
9d752af00c
7 changed files with 7 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ class EditTool : public DrawingProgramToolBase {
|
|||
|
||||
std::unique_ptr<DrawingProgramEditToolBase> compEditTool;
|
||||
std::vector<HandleData> pointHandles;
|
||||
CanvasComponentContainer::ObjInfo* objInfoBeingEdited;
|
||||
CanvasComponentContainer::ObjInfo* objInfoBeingEdited = nullptr;
|
||||
HandleData* pointDragging = nullptr;
|
||||
std::any prevData;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue