mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 20:55:55 +08:00
SPE-1342 - Fixed crash after undo in SLA support point gizmo
This commit is contained in:
parent
5cba1e8319
commit
4fb7bb8dec
@ -78,7 +78,6 @@ void GLGizmoSlaSupports::data_changed()
|
|||||||
if (mo) {
|
if (mo) {
|
||||||
if (mo->sla_points_status == sla::PointsStatus::Generating)
|
if (mo->sla_points_status == sla::PointsStatus::Generating)
|
||||||
get_data_from_backend();
|
get_data_from_backend();
|
||||||
}
|
|
||||||
|
|
||||||
#if ENABLE_RAYCAST_PICKING
|
#if ENABLE_RAYCAST_PICKING
|
||||||
if (m_raycasters.empty())
|
if (m_raycasters.empty())
|
||||||
@ -87,6 +86,7 @@ void GLGizmoSlaSupports::data_changed()
|
|||||||
update_raycasters_for_picking_transform();
|
update_raycasters_for_picking_transform();
|
||||||
#endif // ENABLE_RAYCAST_PICKING
|
#endif // ENABLE_RAYCAST_PICKING
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user