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-08-04 11:18:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-04 11:18:15 +0400
commit95e454038fb258c196d4c93fb47d997183b5d695 (patch)
treeedc0275ba6142cda6540ab78744a5f42cb0d9ed5 /io_scene_x3d
parent64e3e69bc0135eec1662170594a32dc878c4f327 (diff)
fix for exporting empty scene
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/export_x3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index a89fb30a..f1635f17 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -107,7 +107,7 @@ def build_hierarchy(objects):
for obj, subchildren in children:
subchildren[:] = par_lookup.get(obj, [])
- return par_lookup[None]
+ return par_lookup.get(None, [])
# -----------------------------------------------------------------------------