[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37162] branches/soc-2011-onion/source/ blender/editors/sculpt_paint/sculpt.c: Revision: 29510
Jason Wilkins
Jason.A.Wilkins at gmail.com
Sat Jun 4 05:58:41 CEST 2011
Revision: 37162
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37162
Author: jwilkins
Date: 2011-06-04 03:58:40 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Revision: 29510
Author: nicholasbishop
Date: 10:56:15 PM, Wednesday, June 16, 2010
Message:
Bugfix: sculpting along the boundary between hidden areas and unhidden areas on a multires could leave cracks when things were unhidden. Fixed with a call to stitch grids.
Modified Paths:
--------------
branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt.c
Modified: branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt.c 2011-06-04 03:55:20 UTC (rev 37161)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt.c 2011-06-04 03:58:40 UTC (rev 37162)
@@ -4421,8 +4421,17 @@
ARegion *ar= CTX_wm_region(C);
if(ss->hidden_areas.first) {
+ /* Free all hidden areas */
BLI_freelistN(&ss->hidden_areas);
sculpt_area_hide_update(C);
+
+ /* Avoid cracks in multires */
+ if(ss->multires) {
+ BLI_pbvh_search_callback(ss->pbvh, NULL, NULL,
+ update_cb, NULL);
+ multires_stitch_grids(ss->ob);
+ }
+
ED_region_tag_redraw(ar);
}
return OPERATOR_FINISHED;
More information about the Bf-blender-cvs
mailing list