Browse Source

Merge pull request #11571 from jdanford/fix-undefined-variable-blender-exporter

Fix variable name in `_scene_format` method of Blender exporter
Mr.doob 8 years ago
parent
commit
7f2a159370
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/exporters/blender/addons/io_three/exporter/geometry.py

+ 2 - 2
utils/exporters/blender/addons/io_three/exporter/geometry.py

@@ -341,7 +341,7 @@ class Geometry(base_classes.BaseNode):
             metadata[constants.FACES] = faces
 
     def _scene_format(self):
-        """Format the output for Scene compatability
+        """Format the output for Scene compatibility
 
         :rtype: dict
 
@@ -358,7 +358,7 @@ class Geometry(base_classes.BaseNode):
             data.update(self._component_data())
             draw_calls = self.get(constants.DRAW_CALLS)
             if draw_calls is not None:
-                geometry_data[constants.DRAW_CALLS] = draw_calls
+                data[constants.DRAW_CALLS] = draw_calls
 
         return data