This commit is contained in:
Andrej730
2024-08-28 14:37:55 +05:00
parent 1aed2a6b3c
commit 64cba98c3d
+3 -2
View File
@@ -531,9 +531,10 @@ def get_relating_type_id(self, context):
def update_annotation_object_type(self, context):
self.relating_type_id = "0"
# changing enum doesn't trigger refresh by itself
# Refresh enum items before changing property,
# otherwise it might map to the wrong item.
AnnotationData.is_loaded = False
self.relating_type_id = "0"
def update_sheet_data(self, context):