Removed temporary update commits

This commit is contained in:
Yousef Khadadeh 2025-07-31 09:34:17 +03:00
parent d19b5c4cb0
commit ed3d5f6d51
25 changed files with 125 additions and 163 deletions

View file

@ -49,8 +49,8 @@ void EditTool::gui_toolbox() {
}
}
if(editHappened) {
a->temp_update(drawP);
a->client_send_update_temp(drawP);
a->commit_update(drawP);
a->client_send_update(drawP);
}
}
else {
@ -83,8 +83,8 @@ void EditTool::reset_tool() {
default:
break;
}
a->final_update(drawP);
a->client_send_update_final(drawP);
a->commit_update(drawP);
a->client_send_update(drawP);
}
controls.compToEdit.reset();
controls.pointHandles.clear();
@ -177,8 +177,8 @@ void EditTool::tool_update() {
if(controls.pointDragging->max)
newPos = cwise_vec_min(*controls.pointDragging->max, newPos);
*controls.pointDragging->p = newPos;
a->temp_update(drawP);
a->client_send_update_temp(drawP);
a->commit_update(drawP);
a->client_send_update(drawP);
}
isMovingPoint = true;
}