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;

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

Reply via email to