Improved brush tool performance
This commit is contained in:
parent
8df34da421
commit
0a474c16a0
14 changed files with 33 additions and 27 deletions
|
|
@ -318,10 +318,8 @@ bool EditTool::is_editable(CanvasComponentContainer::ObjInfo* comp) {
|
|||
|
||||
void EditTool::tool_update() {
|
||||
if(objInfoBeingEdited) {
|
||||
compEditTool->edit_update();
|
||||
objInfoBeingEdited->obj->send_comp_update(drawP, false);
|
||||
bool shouldNotReset = compEditTool->edit_update();
|
||||
if(!shouldNotReset)
|
||||
switch_tool(get_type());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue