mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Split to objects and Split to parts
This commit is contained in:
@@ -4588,11 +4588,19 @@ bool GLCanvas3D::_init_toolbar()
|
||||
if (!m_toolbar.add_separator())
|
||||
return false;
|
||||
|
||||
item.name = "split";
|
||||
item.tooltip = GUI::L_str("Split");
|
||||
item.name = "splitobjects";
|
||||
item.tooltip = GUI::L_str("Split to objects");
|
||||
item.sprite_id = 6;
|
||||
item.is_toggable = false;
|
||||
item.action_event = EVT_GLTOOLBAR_SPLIT;
|
||||
item.action_event = EVT_GLTOOLBAR_SPLIT_OBJECTS;
|
||||
if (!m_toolbar.add_item(item))
|
||||
return false;
|
||||
|
||||
item.name = "splitvolumes";
|
||||
item.tooltip = GUI::L_str("Split to parts");
|
||||
item.sprite_id = 6;
|
||||
item.is_toggable = false;
|
||||
item.action_event = EVT_GLTOOLBAR_SPLIT_VOLUMES;
|
||||
if (!m_toolbar.add_item(item))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user