Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-28 08:59:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-28 08:59:10 +0400
commit76f6ab34da8e2d2476b0aa0d913f1fa968bbea69 (patch)
tree503799905651ad71b109f18d9a87b3291b592ecb /io_scene_map/export_map.py
parentf7ce397f61582be7b8a6609e31b1924e7c9dad14 (diff)
fix for writing empties as nodes.
Diffstat (limited to 'io_scene_map/export_map.py')
-rw-r--r--io_scene_map/export_map.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_map/export_map.py b/io_scene_map/export_map.py
index 88dbfb46..1950434f 100644
--- a/io_scene_map/export_map.py
+++ b/io_scene_map/export_map.py
@@ -239,7 +239,7 @@ def write_node_map(file, ob):
as a MAP node as long as it has the property name - classname
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
for name, value in props: