mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 16:10:39 +08:00
Fix issue that gizmo grabbers stop working (#8141)
Fix issue that gizmo grabbers stop working (SoftFever/OrcaSlicer#8139) Follow up of a66fc86e203572f84a0761d607fc7e0170e3afd7
This commit is contained in:
parent
06ba32e117
commit
b75473482b
@ -143,7 +143,9 @@ void GLGizmoFlatten::set_flattening_data(const ModelObject* model_object, int in
|
||||
{
|
||||
if (model_object != m_old_model_object || instance_id != m_old_instance_id) {
|
||||
m_planes.clear();
|
||||
on_unregister_raycasters_for_picking();
|
||||
if (get_state() == On) { // Only touch the raycasters if it's current
|
||||
on_unregister_raycasters_for_picking();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user