Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-04 07:32:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-04 07:32:41 +0400
commitd0a27a18e1ee1ce5a7cf1dee81a6dc8e23449e85 (patch)
tree50dfe8776699b16fccae080e34427a9bdd8fe3ad /source/blender/makesrna/intern/rna_object.c
parent1246a0d88b38407b8fdaf638d2c91f8b1a412ed8 (diff)
switching shape keys in editmode needs to recalc normals.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index d06dfdb8e7f..2fc0cca2070 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -230,6 +230,7 @@ void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA *ptr)
case OB_MESH:
EDBM_mesh_load(ob);
EDBM_mesh_make(scene->toolsettings, scene, ob);
+ EDBM_mesh_normals_update(((Mesh*)ob->data)->edit_btmesh);
BMEdit_RecalcTessellation(((Mesh*)ob->data)->edit_btmesh);
break;
case OB_CURVE: