From 1f7c407d581d73990d97ad38a9e8eacfd7ee16cb Mon Sep 17 00:00:00 2001 From: "Erica M. (\"Loonatic\")" Date: Fri, 12 Jul 2024 13:32:41 -0500 Subject: [PATCH] Properties: Only delimit ObjectTypes so that we dont disturb possible Tag attributes --- importer.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/importer.py b/importer.py index f45cc34..7b9c862 100755 --- a/importer.py +++ b/importer.py @@ -1628,8 +1628,11 @@ def build_tree(self, context, parent, inv_matrix=None, under_dart=False): for name, value in self.properties.items(): # We can't have multiple properties with the same name "ObjectType" # So we need to add a delimiter - bpy.context.object[name + str(index)] = value - index += 1 + if name.upper() == "OBJECTTYPE": + bpy.context.object[name + str(index)] = value + index += 1 + else: + bpy.context.object[name] = value if self.shape_keys: # Add the basis key first.