Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-12-10 15:14:54 +0300
committerJaime van Kessel <nallath@gmail.com>2019-12-10 15:14:54 +0300
commit1b80ec8fff6d6b71ec1fd5a286af100fda3a1de6 (patch)
treeed3dd59af0719d579ffa54309df9a4e038b9e97c /cura/Scene
parentf66b1e6fdef1749cbdb6f2e95a9678ae4275acbd (diff)
Fix incorrect casing
Minor issue and I didn't want to send it back to todo *again* because of it. CURA-6522
Diffstat (limited to 'cura/Scene')
-rw-r--r--cura/Scene/ConvexHullDecorator.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/cura/Scene/ConvexHullDecorator.py b/cura/Scene/ConvexHullDecorator.py
index d87a0bb351..2a160f6069 100644
--- a/cura/Scene/ConvexHullDecorator.py
+++ b/cura/Scene/ConvexHullDecorator.py
@@ -97,7 +97,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
return None
# Parent can be None if node is just loaded.
- if self._is_singular_one_at_a_time_node():
+ if self._isSingularOneAtATimeNode():
hull = self.getConvexHullHeadFull()
if hull is None:
return None
@@ -112,7 +112,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
if self._node is None:
return None
- if self._is_singular_one_at_a_time_node():
+ if self._isSingularOneAtATimeNode():
return self._compute2DConvexHeadFull()
return None
@@ -132,7 +132,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
return None
if self._node.callDecoration("isNonPrintingMesh"):
return None
- if self._is_singular_one_at_a_time_node():
+ if self._isSingularOneAtATimeNode():
head_with_fans = self._compute2DConvexHeadMin()
if head_with_fans is None:
return None
@@ -150,7 +150,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
if self._node.callDecoration("isNonPrintingMesh"):
return None
- if self._is_singular_one_at_a_time_node():
+ if self._isSingularOneAtATimeNode():
# Printing one at a time and it's not an object in a group
return self._compute2DConvexHull()
return None
@@ -159,7 +159,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
# In case of printing all at once this is the same as convex hull (no individual adhesion)
# For one at the time this includes the adhesion area
def getPrintingArea(self) -> Optional[Polygon]:
- if self._is_singular_one_at_a_time_node():
+ if self._isSingularOneAtATimeNode():
# In one-at-a-time mode, every printed object gets it's own adhesion
printing_area = self.getAdhesionArea()
else:
@@ -432,7 +432,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
return self.__isDescendant(root, node.getParent())
## True if print_sequence is one_at_a_time and _node is not part of a group
- def _is_singular_one_at_a_time_node(self) -> bool:
+ def _isSingularOneAtATimeNode(self) -> bool:
if self._node is None:
return False
return self._global_stack is not None \