Follow-up of c5c5c23ed2 - Fixed raycasters update after deletion

This commit is contained in:
enricoturri1966 2022-06-15 09:09:11 +02:00
parent c5c5c23ed2
commit ae09c864c2

View File

@ -515,6 +515,10 @@ void GLGizmoHollow::delete_selected_points()
}
}
#if ENABLE_RAYCAST_PICKING
on_unregister_raycasters_for_picking();
on_register_raycasters_for_picking();
#endif // ENABLE_RAYCAST_PICKING
select_point(NoPoints);
}