mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08: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
@ -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…
x
Reference in New Issue
Block a user