Browse Source

change a confusing variable name

Jason0214 7 years ago
parent
commit
3aecbfae1b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      io_scene_godot/export_godot.py

+ 3 - 3
io_scene_godot/export_godot.py

@@ -73,11 +73,11 @@ class GodotExporter:
             exporter = converters.BLENDER_TYPE_TO_EXPORTER["EMPTY"]
 
         # Perform the export
-        parent_gd_node = exporter(self.escn_file, self.config, node,
-                                  parent_gd_node)
+        exported_node = exporter(self.escn_file, self.config, node,
+                                 parent_gd_node)
 
         for child in node.children:
-            self.export_node(child, parent_gd_node)
+            self.export_node(child, exported_node)
 
         bpy.context.scene.objects.active = prev_node