From 58205fb9653a4c6ffdd81685b2a62cac6313d852 Mon Sep 17 00:00:00 2001 From: Ruben D Date: Thu, 22 Mar 2018 01:59:49 +0100 Subject: [PATCH] Make _getMaterialShrinkage protected No need to expose this. Contributes to issue CURA-4557. --- plugins/ModelChecker/ModelChecker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ModelChecker/ModelChecker.py b/plugins/ModelChecker/ModelChecker.py index 1ceaa775d3..8a501ceb27 100644 --- a/plugins/ModelChecker/ModelChecker.py +++ b/plugins/ModelChecker/ModelChecker.py @@ -49,7 +49,7 @@ class ModelChecker(QObject, Extension): warning_size_xy = 150 #The horizontal size of a model that would be too large when dealing with shrinking materials. warning_size_z = 100 #The vertical size of a model that would be too large when dealing with shrinking materials. - material_shrinkage = self.getMaterialShrinkage() + material_shrinkage = self._getMaterialShrinkage() warning_nodes = [] @@ -101,7 +101,7 @@ class ModelChecker(QObject, Extension): def showWarnings(self): self._caution_message.show() - def getMaterialShrinkage(self): + def _getMaterialShrinkage(self): global_container_stack = Application.getInstance().getGlobalContainerStack() if global_container_stack is None: return {}