mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:49:01 +08:00
Make _getMaterialShrinkage protected
No need to expose this. Contributes to issue CURA-4557.
This commit is contained in:
parent
c8222b73c7
commit
58205fb965
@ -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 {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user