mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 21:58:01 -06:00
Removed unused decorator
This commit is contained in:
parent
069bbde84a
commit
aa83b6834b
2 changed files with 0 additions and 14 deletions
|
@ -36,7 +36,6 @@ from . import BuildVolume
|
||||||
from . import CameraAnimation
|
from . import CameraAnimation
|
||||||
from . import PrintInformation
|
from . import PrintInformation
|
||||||
from . import CuraActions
|
from . import CuraActions
|
||||||
from . import MultiMaterialDecorator
|
|
||||||
from . import ZOffsetDecorator
|
from . import ZOffsetDecorator
|
||||||
from . import CuraSplashScreen
|
from . import CuraSplashScreen
|
||||||
from . import CameraImageProvider
|
from . import CameraImageProvider
|
||||||
|
@ -792,8 +791,6 @@ class CuraApplication(QtApplication):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
Logger.log("d", "mergeSelected: Exception:", e)
|
Logger.log("d", "mergeSelected: Exception:", e)
|
||||||
return
|
return
|
||||||
multi_material_decorator = MultiMaterialDecorator.MultiMaterialDecorator()
|
|
||||||
group_node.addDecorator(multi_material_decorator)
|
|
||||||
|
|
||||||
# Compute the center of the objects when their origins are aligned.
|
# Compute the center of the objects when their origins are aligned.
|
||||||
object_centers = [node.getMeshData().getCenterPosition().scale(node.getScale()) for node in group_node.getChildren()]
|
object_centers = [node.getMeshData().getCenterPosition().scale(node.getScale()) for node in group_node.getChildren()]
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
|
|
||||||
|
|
||||||
class MultiMaterialDecorator(SceneNodeDecorator):
|
|
||||||
def __init__(self):
|
|
||||||
super().__init__()
|
|
||||||
|
|
||||||
def isMultiMaterial(self):
|
|
||||||
return True
|
|
||||||
|
|
||||||
def __deepcopy__(self, memo):
|
|
||||||
return MultiMaterialDecorator()
|
|
Loading…
Add table
Add a link
Reference in a new issue