Core/Gui: Render primitives on top of the scene in PickGeometry

+ added some better grouping for items, which are assigned per object
  right now. For example, if we exceed 10 items per object it gets an
  additional group.

Co-authored-by: realthunder <realthunder@users.noreply.github.com>
This commit is contained in:
tetektoza
2025-06-25 11:28:25 +02:00
parent 5e0b74dce6
commit edfeff975e
17 changed files with 614 additions and 91 deletions

View File

@@ -2604,3 +2604,13 @@ PyObject *SelectionSingleton::sGetSelectionFromStack(PyObject * /*self*/, PyObje
}
PY_CATCH;
}
bool SelectionSingleton::pickGeometryActive = false;
bool SelectionSingleton::isPickGeometryActive() {
return pickGeometryActive;
}
void SelectionSingleton::setPickGeometryActive(bool active) {
pickGeometryActive = active;
}