From 0a8ef5162e1261ab839531bd4804c0c8eeaaf52f Mon Sep 17 00:00:00 2001
From: "p.kuiper"
Date: Wed, 6 Apr 2022 13:28:55 +0200
Subject: Removed the rather hacky implementation of the shrinkage factor
averaging. Issues with dual extrusion were the second extruder is not used
should solved in a different way.
Relates to PP-77
---
cura/Scene/ConvexHullDecorator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'cura/Scene')
diff --git a/cura/Scene/ConvexHullDecorator.py b/cura/Scene/ConvexHullDecorator.py
index 4545a49aa0..36697b7c57 100644
--- a/cura/Scene/ConvexHullDecorator.py
+++ b/cura/Scene/ConvexHullDecorator.py
@@ -383,7 +383,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
# Shrinkage compensation.
if not self._global_stack: # Should never happen.
return convex_hull
- scale_factor = self._global_stack.getProperty("material_shrinkage_percentage_xy", "value") / 100.0
+ scale_factor = self._global_stack.getProperty("material_shrinkage_percentage", "value") / 100.0
result = convex_hull
if scale_factor != 1.0 and not self.getNode().callDecoration("isGroup"):
center = None
--
cgit v1.2.3