mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Remove unused value for extra_margin
Since the else clause below now raises an exception and all its if clauses define extra_margin, this initial value is now unused. Contributes to issue CURA-2407.
This commit is contained in:
parent
6783b4b3ef
commit
dc80d50eb5
1 changed files with 0 additions and 1 deletions
|
@ -231,7 +231,6 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
# Compensate for raft/skirt/brim
|
||||
# Add extra margin depending on adhesion type
|
||||
adhesion_type = self._global_stack.getProperty("adhesion_type", "value")
|
||||
extra_margin = 0
|
||||
|
||||
if adhesion_type == "raft":
|
||||
extra_margin = max(0, self._getSettingProperty("raft_margin", "value"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue