mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Improve documentation
This makes it more clear when that variable is -1. Contributes to issue CURA-2407.
This commit is contained in:
parent
2721cde6f0
commit
2bdb388ad5
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
return self._global_stack.getProperty(setting_key, property)
|
||||
|
||||
extruder_index = self._global_stack.getProperty(setting_key, "limit_to_extruder")
|
||||
if extruder_index == "-1": # If extruder index is -1 use the object's extruder instead.
|
||||
if extruder_index == "-1": #No limit_to_extruder.
|
||||
extruder_stack_id = self._node.callDecoration("getActiveExtruder")
|
||||
if not extruder_stack_id: #Decoration doesn't exist.
|
||||
extruder_stack_id = ExtruderManager.getInstance().extruderIds["0"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue