mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 17:18:09 +08:00
Fixed build on OSX & Linux
This commit is contained in:
parent
8c9923b2bf
commit
ceea83720a
@ -1596,8 +1596,10 @@ void Plater::priv::selection_changed()
|
|||||||
|
|
||||||
// if the selection is not valid to allow for layer editing, we need to turn off the tool if it is running
|
// 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();
|
bool enable_layer_editing = layers_height_allowed();
|
||||||
if (!enable_layer_editing && view3D->is_layers_editing_enabled())
|
if (!enable_layer_editing && view3D->is_layers_editing_enabled()) {
|
||||||
on_action_layersediting(SimpleEvent(EVT_GLTOOLBAR_LAYERSEDITING));
|
SimpleEvent evt(EVT_GLTOOLBAR_LAYERSEDITING);
|
||||||
|
on_action_layersediting(evt);
|
||||||
|
}
|
||||||
|
|
||||||
view3D->enable_toolbar_item("layersediting", enable_layer_editing);
|
view3D->enable_toolbar_item("layersediting", enable_layer_editing);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user