Added minimum distance between points when creating objects, and also deselecting objects with lasso tool improved

This commit is contained in:
Yousef Khadadeh 2025-08-06 10:39:34 +03:00
parent 7ffa039061
commit 6d8d532952
7 changed files with 22 additions and 1 deletions

View file

@ -93,6 +93,8 @@ void LassoSelectTool::tool_update() {
drawP.selection.add_from_cam_coord_collider_to_selection(cC);
}
}
else if(!drawP.world.main.input.key(InputManager::KEY_GENERIC_LSHIFT).held && !drawP.world.main.input.key(InputManager::KEY_GENERIC_LALT).held)
drawP.selection.deselect_all();
controls.selectionMode = 0;
}
break;