mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:25:54 +08:00
T553: Resetting layer slider to max
This commit is contained in:
parent
38d42a7885
commit
4ba8033c2a
@ -272,6 +272,8 @@ class GCODEReader(MeshReader):
|
||||
view = Application.getInstance().getController().getActiveView()
|
||||
if view.getPluginId() == "LayerView":
|
||||
view.resetLayerData()
|
||||
view.setLayer(999999)
|
||||
view.calculateMaxLayers()
|
||||
|
||||
# scene_node.setEnabled(False)
|
||||
#scene_node.setSelectable(False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user