Fixed message type and disabled "Split to parts" in toolbar for the SLA printer

This commit is contained in:
YuSanka 2019-03-05 16:13:14 +01:00
parent 857b68a82a
commit c1a24d2fbb
2 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ void config_wizard(int reason)
{
show_info(nullptr,
_(L("It's impossible to print multi-part object(s) with SLA technology.")) + "\n\n" +
_(L("Please check and fixe your object list.")),
_(L("Please check and fix your object list.")),
_(L("Attention!")));
}

View file

@ -1714,8 +1714,8 @@ void Plater::priv::selection_changed()
view3D->enable_toolbar_item("delete", can_delete_object());
view3D->enable_toolbar_item("more", can_increase_instances());
view3D->enable_toolbar_item("fewer", can_decrease_instances());
view3D->enable_toolbar_item("splitobjects", can_split/*_to_objects*/());
view3D->enable_toolbar_item("splitvolumes", can_split/*_to_volumes*/());
view3D->enable_toolbar_item("splitobjects", can_split());
view3D->enable_toolbar_item("splitvolumes", printer_technology == ptFFF && can_split());
// if the selection is not valid to allow for layer editing, we need to turn off the tool if it is running
bool enable_layer_editing = layers_height_allowed();