mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix errors trying to setup decorations running tests
This commit is contained in:
@@ -259,8 +259,12 @@ def update_should_draw_decorations(self, context):
|
||||
continue
|
||||
tool.Drawing.update_text_value(obj)
|
||||
refresh_drawing_data()
|
||||
if bpy.app.background:
|
||||
return
|
||||
decoration.DecorationsHandler.install(context)
|
||||
else:
|
||||
if bpy.app.background:
|
||||
return
|
||||
decoration.DecorationsHandler.uninstall()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user