diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-04 11:18:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-04 11:18:15 +0400 |
commit | 95e454038fb258c196d4c93fb47d997183b5d695 (patch) | |
tree | edc0275ba6142cda6540ab78744a5f42cb0d9ed5 /io_scene_x3d/export_x3d.py | |
parent | 64e3e69bc0135eec1662170594a32dc878c4f327 (diff) |
fix for exporting empty scene
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 2 |
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, []) # ----------------------------------------------------------------------------- |