mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Don't calculate the AABB tree in FDM mode
This commit is contained in:
parent
6dd79d4923
commit
79ce691d58
1 changed files with 9 additions and 7 deletions
|
@ -353,6 +353,7 @@ void GLGizmosManager::set_sla_support_data(ModelObject* model_object)
|
||||||
|
|
||||||
|
|
||||||
// Update common data for hollowing and sla support gizmos.
|
// Update common data for hollowing and sla support gizmos.
|
||||||
|
if (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA) {
|
||||||
if (m_common_gizmos_data->update_from_backend(m_parent, model_object)) {
|
if (m_common_gizmos_data->update_from_backend(m_parent, model_object)) {
|
||||||
// FIXME: this is a hack to make that the clipping plane is
|
// FIXME: this is a hack to make that the clipping plane is
|
||||||
// updated when the update set its position to zero. The clipping
|
// updated when the update set its position to zero. The clipping
|
||||||
|
@ -361,6 +362,7 @@ void GLGizmosManager::set_sla_support_data(ModelObject* model_object)
|
||||||
gizmo_supports->update_clipping_plane();
|
gizmo_supports->update_clipping_plane();
|
||||||
gizmo_hollow->update_clipping_plane();
|
gizmo_hollow->update_clipping_plane();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
gizmo_supports->set_sla_support_data(model_object, m_parent.get_selection());
|
gizmo_supports->set_sla_support_data(model_object, m_parent.get_selection());
|
||||||
gizmo_hollow->set_sla_support_data(model_object, m_parent.get_selection());
|
gizmo_hollow->set_sla_support_data(model_object, m_parent.get_selection());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue