diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-01 15:59:21 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-01 15:59:21 +0300 |
commit | 15cf78e2a525cca3f650f7af45e9c4213303005f (patch) | |
tree | 6fe74ee4362ca3cbdf3b995758b9b3e098b5ead0 /io_scene_fbx | |
parent | 351dbd03d484c7487e83e3f2e6045fe9bd0fdb8e (diff) |
Fix FBX exporter when modifiers
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index e14f2706..006a343b 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -2214,10 +2214,8 @@ def fbx_data_from_scene(scene, depsgraph, settings): use_org_data = False if not use_org_data: tmp_me = ob.to_mesh( - scene, - apply_modifiers=settings.use_mesh_modifiers, - settings='RENDER' if settings.use_mesh_modifiers_render else 'PREVIEW', - ) + depsgraph, + apply_modifiers=settings.use_mesh_modifiers) data_meshes[ob_obj] = (get_blenderID_key(tmp_me), tmp_me, True) # Re-enable temporary disabled modifiers. for mod, show_render in tmp_mods: |