Only editable objects initiate editing state when using edit tool
This commit is contained in:
parent
56b3c27401
commit
762016be4c
2 changed files with 9 additions and 12 deletions
|
|
@ -27,6 +27,7 @@ class EditTool : public DrawingProgramToolBase {
|
|||
|
||||
void add_point_handle(const HandleData& handle);
|
||||
void edit_start(const std::shared_ptr<DrawComponent>& comp);
|
||||
bool is_editable(const std::shared_ptr<DrawComponent>& comp);
|
||||
|
||||
struct EditControls {
|
||||
std::unique_ptr<DrawingProgramEditToolBase> compEditTool;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue