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