diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-21 18:55:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-21 18:55:28 +0400 |
commit | c75f170adb9ab2195aaa98122ed02d9332b1b72a (patch) | |
tree | 6785899cb32f0a7a195cb7ea17a15771f18b3cb3 /io_scene_obj | |
parent | 08e558d60f30781a2c92044e98bcd0e61633f92a (diff) |
use object.update_from_editmode() for scripts which read object data.
Diffstat (limited to 'io_scene_obj')
-rw-r--r-- | io_scene_obj/export_obj.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index 90d69316..681e4534 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -678,6 +678,7 @@ def _write(context, filepath, scene = context.scene # Exit edit mode before exporting, so current object states are exported properly. + # use this over obj.update_from_editmode() because of animation export. if bpy.ops.object.mode_set.poll(): bpy.ops.object.mode_set(mode='OBJECT') |