Fix prime tower shadow visible when disabled

CURA-11645
This commit is contained in:
Erwan MATHIEU 2024-02-26 11:12:31 +01:00
parent d4ba499d68
commit d5e8a0acb9

View file

@ -880,7 +880,7 @@ class BuildVolume(SceneNode):
result[extruder.getId()] = []
# Currently, the only normally printed object is the prime tower.
if self._global_container_stack.getProperty("prime_tower_mode", "value") != 'none':
if self._global_container_stack.getProperty("prime_tower_enable", "value"):
prime_tower_size = self._global_container_stack.getProperty("prime_tower_size", "value")
machine_width = self._global_container_stack.getProperty("machine_width", "value")
machine_depth = self._global_container_stack.getProperty("machine_depth", "value")