mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix issue that gizmo grabbers stop working (#8141)
Fix issue that gizmo grabbers stop working (SoftFever/OrcaSlicer#8139)
Follow up of a66fc86e20
This commit is contained in:
@@ -143,9 +143,11 @@ void GLGizmoFlatten::set_flattening_data(const ModelObject* model_object, int in
|
|||||||
{
|
{
|
||||||
if (model_object != m_old_model_object || instance_id != m_old_instance_id) {
|
if (model_object != m_old_model_object || instance_id != m_old_instance_id) {
|
||||||
m_planes.clear();
|
m_planes.clear();
|
||||||
|
if (get_state() == On) { // Only touch the raycasters if it's current
|
||||||
on_unregister_raycasters_for_picking();
|
on_unregister_raycasters_for_picking();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void GLGizmoFlatten::update_planes()
|
void GLGizmoFlatten::update_planes()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user