mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Fix scale for just ungrouped objects
CURA-6565 Same as in Uranium _calculateAABB()
This commit is contained in:
parent
6e053e0bb6
commit
c2b866fd05
1 changed files with 3 additions and 0 deletions
|
@ -115,6 +115,9 @@ class CuraSceneNode(SceneNode):
|
|||
self._aabb = None
|
||||
if self._mesh_data:
|
||||
self._aabb = self._mesh_data.getExtents(self.getWorldTransformation())
|
||||
else: # If there is no mesh_data, use a boundingbox that encompasses the local (0,0,0)
|
||||
position = self.getWorldPosition()
|
||||
self._aabb = AxisAlignedBox(minimum=position, maximum=position)
|
||||
|
||||
for child in self.getAllChildren():
|
||||
if child.callDecoration("isNonPrintingMesh"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue