mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Disabled layer editing mode for SLA
This commit is contained in:
parent
77dcb7f5a3
commit
177f5b02fa
2 changed files with 4 additions and 1 deletions
|
@ -3027,6 +3027,9 @@ bool Plater::priv::can_split() const
|
|||
|
||||
bool Plater::priv::layers_height_allowed() const
|
||||
{
|
||||
if (printer_technology != ptFFF)
|
||||
return false;
|
||||
|
||||
int obj_idx = get_selected_object_idx();
|
||||
return (0 <= obj_idx) && (obj_idx < (int)model.objects.size()) && config->opt_bool("variable_layer_height") && view3D->is_layers_editing_allowed();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue