diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-01 18:08:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-01 18:08:38 +0300 |
commit | 051e186d5c61dccfc776b8da9b83c598421be4e7 (patch) | |
tree | 8f00c5a6262ca522fcd11a8540aee637a5aa8245 /intern/cycles/blender | |
parent | 7c75c2db4f97e192d76761afe0cdb4391bdc0ec1 (diff) |
Cleanup: some more G.main removal from editor code.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp index 7d6ca18b074..76d17bc1ae6 100644 --- a/intern/cycles/blender/blender_mesh.cpp +++ b/intern/cycles/blender/blender_mesh.cpp @@ -1171,7 +1171,7 @@ Mesh *BlenderSync::sync_mesh(BL::Object& b_ob, * freed data from the blender side. */ if(preview && b_ob.type() != BL::Object::type_MESH) - b_ob.update_from_editmode(); + b_ob.update_from_editmode(b_data); bool need_undeformed = mesh->need_attribute(scene, ATTR_STD_GENERATED); |