Skip to content

Commit 20f2b99

Browse files
* Fix locator hirarchy
1 parent 0865499 commit 20f2b99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

import-export-clausewitz/importer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ def AddBlenderMesh(self):
9292
locatorNode = meshNode.search("locator", False)
9393

9494
locators = locatorNode.subNodes[0].Flatten()
95-
95+
9696
for i in range(0, len(locators)):
9797
o = bpy.data.objects.new(locators[i].name, None)
98+
o.parent = obj
9899
bpy.context.scene.objects.link(o)
99100
o.empty_draw_size = 2
100101
o.empty_draw_type = 'PLAIN_AXES'

0 commit comments

Comments
 (0)