1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-22 09:54:27 +00:00

Improved Instance splitting :

- Added icon and context menu for Instance.
- Added multiple selection and splitting for the instances (add new object with selected instances)
This commit is contained in:
YuSanka
2019-01-23 16:01:37 +01:00
parent 322b954c1c
commit 8fd6194403
7 changed files with 121 additions and 37 deletions
+2 -1
View File
@@ -5273,7 +5273,8 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt)
if (m_volumes.volumes[m_hover_volume_id]->hover && !m_volumes.volumes[m_hover_volume_id]->is_wipe_tower)
{
// forces the selection of the volume
m_selection.add(m_hover_volume_id);
if (!m_selection.is_multiple_full_instance())
m_selection.add(m_hover_volume_id);
m_gizmos.update_on_off_state(m_selection);
post_event(SimpleEvent(EVT_GLCANVAS_OBJECT_SELECT));
_update_gizmos_data();