Prevent errors where decorator is still running and there is no camera

This commit is contained in:
Dion Moult
2025-03-15 20:54:15 +11:00
parent 615ca24825
commit bef7ff33f7
@@ -1609,6 +1609,9 @@ class CutDecorator:
cls.installed = None
def __call__(self, context):
if not context.scene.camera:
return
self.addon_prefs = tool.Blender.get_addon_preferences()
selected_elements_color = self.addon_prefs.decorator_color_selected