Browse Source

Fix PerObjectSettings, which were broken due to the material editing merge

CURA-342
fieldOfView 8 years ago
parent
commit
c36af13daf

+ 1 - 1
plugins/PerObjectSettingsTool/PerObjectSettingVisibilityHandler.py

@@ -5,7 +5,7 @@ from UM.Logger import Logger
 
 import UM.Settings.Models
 
-from cura.SettingOverrideDecorator import SettingOverrideDecorator
+from cura.Settings.SettingOverrideDecorator import SettingOverrideDecorator
 
 ##  The per object setting visibility handler ensures that only setting defintions that have a matching instance Container
 #   are returned as visible. 

+ 1 - 1
plugins/PerObjectSettingsTool/PerObjectSettingsTool.py

@@ -5,7 +5,7 @@ from UM.Tool import Tool
 from UM.Scene.Selection import Selection
 from UM.Application import Application
 from UM.Preferences import Preferences
-from cura.SettingOverrideDecorator import SettingOverrideDecorator
+from cura.Settings.SettingOverrideDecorator import SettingOverrideDecorator
 
 ##  This tool allows the user to add & change settings per node in the scene.
 #   The settings per object are kept in a ContainerStack, which is linked to a node by decorator.