mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 15:43:12 +08:00
code style
This commit is contained in:
parent
6b4e0740a3
commit
7528b2d970
@ -243,7 +243,7 @@ class BuildVolume(SceneNode):
|
||||
machine_height = self._active_container_stack.getProperty("machine_height", "value")
|
||||
if self._active_container_stack.getProperty("print_sequence", "value") == "one_at_a_time":
|
||||
self._height = min(self._active_container_stack.getProperty("gantry_height", "value"), machine_height)
|
||||
if(self._height < machine_height):
|
||||
if self._height < machine_height:
|
||||
self._buildVolumeMessage()
|
||||
else:
|
||||
self._height = self._active_container_stack.getProperty("machine_height", "value")
|
||||
@ -263,7 +263,7 @@ class BuildVolume(SceneNode):
|
||||
machine_height = self._active_container_stack.getProperty("machine_height", "value")
|
||||
if Application.getInstance().getGlobalContainerStack().getProperty("print_sequence", "value") == "one_at_a_time":
|
||||
self._height = min(self._active_container_stack.getProperty("gantry_height", "value"), machine_height)
|
||||
if(self._height < machine_height):
|
||||
if self._height < machine_height:
|
||||
self._buildVolumeMessage()
|
||||
else:
|
||||
self._height = self._active_container_stack.getProperty("machine_height", "value")
|
||||
|
Loading…
x
Reference in New Issue
Block a user