[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39708] branches/bmesh/blender/source/ blender/editors/mesh/bmesh_tools.c: update depsgraph after collapse; fixes a crash and a display problem when subsurf modifier active

Howard Trickey howard.trickey at gmail.com
Fri Aug 26 13:28:43 CEST 2011


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);
 	}
 		
 	




More information about the Bf-blender-cvs mailing list