Skip to content

Commit

Permalink
Merge pull request #11571 from jdanford/fix-undefined-variable-blende…
Browse files Browse the repository at this point in the history
…r-exporter

Fix variable name in `_scene_format` method of Blender exporter
  • Loading branch information
mrdoob committed Jun 20, 2017
2 parents 1c56c19 + 99daadc commit 7f2a159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/exporters/blender/addons/io_three/exporter/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def _geometry_metadata(self, metadata):
metadata[constants.FACES] = faces

def _scene_format(self):
"""Format the output for Scene compatability
"""Format the output for Scene compatibility
:rtype: dict
Expand All @@ -358,7 +358,7 @@ def _scene_format(self):
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

Expand Down

0 comments on commit 7f2a159

Please sign in to comment.