Revision: 39708
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39708
Author:   howardt
Date:     2011-08-26 11:28:42 +0000 (Fri, 26 Aug 2011)
Log Message:
-----------
update depsgraph after collapse; fixes a crash and a display problem when 
subsurf modifier active

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/editors/mesh/bmesh_tools.c

Modified: branches/bmesh/blender/source/blender/editors/mesh/bmesh_tools.c
===================================================================
--- branches/bmesh/blender/source/blender/editors/mesh/bmesh_tools.c    
2011-08-26 08:13:08 UTC (rev 39707)
+++ branches/bmesh/blender/source/blender/editors/mesh/bmesh_tools.c    
2011-08-26 11:28:42 UTC (rev 39708)
@@ -1104,6 +1104,7 @@
        } else {
                if (!EDBM_CallOpf(em, op, "collapse edges=%he", BM_SELECT))
                        return OPERATOR_CANCELLED;
+               DAG_id_tag_update(obedit->data, OB_RECALC_DATA);
        }
                
        

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to