Fix bug where sometimes active object edits would not get synced correctly.

This commit is contained in:
Dion Moult
2021-05-19 21:05:03 +10:00
parent 82692bb88d
commit 1541cbbbb8
+1 -1
View File
@@ -9,7 +9,7 @@ from ifcopenshell.api.type.data import Data as TypeData
def mode_callback(obj, data):
for obj in bpy.context.selected_objects:
for obj in bpy.context.selected_objects + [bpy.context.active_object]:
if (
obj.mode != "EDIT"
or not obj.data