mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 02:07:51 -06:00
Calculate AABB for non printing meshes
CURA-6480
This commit is contained in:
parent
3c43864dac
commit
24f28fe03e
2 changed files with 1 additions and 1 deletions
|
@ -45,6 +45,7 @@ class GlobalStack(CuraContainerStack):
|
||||||
# Since the metadatachanged is defined in container stack, we can't use it here as a notifier for pyqt
|
# Since the metadatachanged is defined in container stack, we can't use it here as a notifier for pyqt
|
||||||
# properties. So we need to tie them together like this.
|
# properties. So we need to tie them together like this.
|
||||||
self.metaDataChanged.connect(self.configuredConnectionTypesChanged)
|
self.metaDataChanged.connect(self.configuredConnectionTypesChanged)
|
||||||
|
self.metaDataChanged.connect(self.networkGroupNameChanged)
|
||||||
|
|
||||||
extrudersChanged = pyqtSignal()
|
extrudersChanged = pyqtSignal()
|
||||||
configuredConnectionTypesChanged = pyqtSignal()
|
configuredConnectionTypesChanged = pyqtSignal()
|
||||||
|
|
|
@ -120,7 +120,6 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
||||||
changed = False
|
changed = False
|
||||||
if self._is_non_printing_mesh != new_is_non_printing_mesh:
|
if self._is_non_printing_mesh != new_is_non_printing_mesh:
|
||||||
self._is_non_printing_mesh = new_is_non_printing_mesh
|
self._is_non_printing_mesh = new_is_non_printing_mesh
|
||||||
self._node.setCalculateBoundingBox(not self._is_non_printing_mesh)
|
|
||||||
changed = True
|
changed = True
|
||||||
if self._is_non_thumbnail_visible_mesh != new_is_non_thumbnail_visible_mesh:
|
if self._is_non_thumbnail_visible_mesh != new_is_non_thumbnail_visible_mesh:
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue