mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Fix incorrect casing
Minor issue and I didn't want to send it back to todo *again* because of it. CURA-6522
This commit is contained in:
parent
f66b1e6fde
commit
1b80ec8fff
1 changed files with 6 additions and 6 deletions
|
@ -97,7 +97,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Parent can be None if node is just loaded.
|
# Parent can be None if node is just loaded.
|
||||||
if self._is_singular_one_at_a_time_node():
|
if self._isSingularOneAtATimeNode():
|
||||||
hull = self.getConvexHullHeadFull()
|
hull = self.getConvexHullHeadFull()
|
||||||
if hull is None:
|
if hull is None:
|
||||||
return None
|
return None
|
||||||
|
@ -112,7 +112,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
if self._node is None:
|
if self._node is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if self._is_singular_one_at_a_time_node():
|
if self._isSingularOneAtATimeNode():
|
||||||
return self._compute2DConvexHeadFull()
|
return self._compute2DConvexHeadFull()
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
@ -132,7 +132,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
return None
|
return None
|
||||||
if self._node.callDecoration("isNonPrintingMesh"):
|
if self._node.callDecoration("isNonPrintingMesh"):
|
||||||
return None
|
return None
|
||||||
if self._is_singular_one_at_a_time_node():
|
if self._isSingularOneAtATimeNode():
|
||||||
head_with_fans = self._compute2DConvexHeadMin()
|
head_with_fans = self._compute2DConvexHeadMin()
|
||||||
if head_with_fans is None:
|
if head_with_fans is None:
|
||||||
return None
|
return None
|
||||||
|
@ -150,7 +150,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
if self._node.callDecoration("isNonPrintingMesh"):
|
if self._node.callDecoration("isNonPrintingMesh"):
|
||||||
return None
|
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
|
# Printing one at a time and it's not an object in a group
|
||||||
return self._compute2DConvexHull()
|
return self._compute2DConvexHull()
|
||||||
return None
|
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)
|
# 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
|
# For one at the time this includes the adhesion area
|
||||||
def getPrintingArea(self) -> Optional[Polygon]:
|
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
|
# In one-at-a-time mode, every printed object gets it's own adhesion
|
||||||
printing_area = self.getAdhesionArea()
|
printing_area = self.getAdhesionArea()
|
||||||
else:
|
else:
|
||||||
|
@ -432,7 +432,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||||
return self.__isDescendant(root, node.getParent())
|
return self.__isDescendant(root, node.getParent())
|
||||||
|
|
||||||
## True if print_sequence is one_at_a_time and _node is not part of a group
|
## 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:
|
if self._node is None:
|
||||||
return False
|
return False
|
||||||
return self._global_stack is not None \
|
return self._global_stack is not None \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue