Skip to content
Snippets Groups Projects
Commit 76f6ab34 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for writing empties as nodes.

parent f7ce397f
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,7 @@ def write_node_map(file, ob): ...@@ -239,7 +239,7 @@ def write_node_map(file, ob):
as a MAP node as long as it has the property name - classname as a MAP node as long as it has the property name - classname
returns True/False based on weather a node was written returns True/False based on weather a node was written
''' '''
props = [(p.name, p.data) for p in ob.game_properties] props = [(p.name, p.value) for p in ob.game.properties]
IS_MAP_NODE = False IS_MAP_NODE = False
for name, value in props: for name, value in props:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment