Fix for missed faces in mesh after switching active shape key in edit mode.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Mar 2012 14:25:52 +0000 (14:25 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Mar 2012 14:25:52 +0000 (14:25 +0000)
source/blender/makesrna/intern/rna_object.c

index 433f893..c9881ef 100644 (file)
@@ -228,6 +228,7 @@ void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA *ptr)
                        case OB_MESH:
                                EDBM_LoadEditBMesh(scene, ob);
                                EDBM_MakeEditBMesh(scene->toolsettings, scene, ob);
+                               BMEdit_RecalcTessellation(((Mesh*)ob->data)->edit_btmesh);
                                break;
                        case OB_CURVE:
                        case OB_SURF: