diff options
Diffstat (limited to 'io_scene_gltf2/blender')
-rwxr-xr-x | io_scene_gltf2/blender/exp/gltf2_blender_export.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_export.py b/io_scene_gltf2/blender/exp/gltf2_blender_export.py index 5cb98479..522f13de 100755 --- a/io_scene_gltf2/blender/exp/gltf2_blender_export.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_export.py @@ -106,6 +106,9 @@ def __fix_json(obj): if isinstance(obj, dict): fixed = {} for key, value in obj.items(): + if key == 'extras' and value is not None: + fixed[key] = value + continue if not __should_include_json_value(key, value): continue fixed[key] = __fix_json(value) |