diff options
Diffstat (limited to 'tools/export/blender25')
-rw-r--r-- | tools/export/blender25/io_scene_dae/export_dae.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/export/blender25/io_scene_dae/export_dae.py b/tools/export/blender25/io_scene_dae/export_dae.py index 6c4789c152..38c5c3b723 100644 --- a/tools/export/blender25/io_scene_dae/export_dae.py +++ b/tools/export/blender25/io_scene_dae/export_dae.py @@ -937,6 +937,7 @@ class DaeExporter: if node.type=="MESH" and self.config["export_shapekeys"]: for k in range(0,len(node.data.shape_keys.key_blocks)): shape = node.data.shape_keys.key_blocks[k] + oldval = shape.value shape.value = 1.0 node.active_shape_key_index = k p = node.data @@ -945,6 +946,7 @@ class DaeExporter: self.export_node(node,il,shape.name) node.data = p node.data.update() + shape.value = oldval il-=1 self.writel(S_NODES,il,'</node>') |