[Bf-blender-cvs] [3efbb87] gooseberry: Gooseberry: fix multires sculpting not updating normals
Nicholas Bishop
noreply at git.blender.org
Fri Feb 6 14:15:18 CET 2015
Commit: 3efbb8777a6a679ee38e8dbb330d1eeab60b4f07
Author: Nicholas Bishop
Date: Fri Feb 6 14:14:40 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB3efbb8777a6a679ee38e8dbb330d1eeab60b4f07
Gooseberry: fix multires sculpting not updating normals
Looks like just a refactoring mistake in the Gooseberry branch.
===================================================================
M source/blender/blenkernel/intern/subsurf_ccg.c
===================================================================
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index c5a2e02..0729778 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -2040,6 +2040,8 @@ static void ccgDM_drawFacesSolid(DerivedMesh *dm, float (*partial_redraw_planes)
int a;
CCGDerivedMesh *ccgdm = (CCGDerivedMesh *) dm;
+ ccgdm_pbvh_update(ccgdm);
+
if (ccgdm->pbvh && ccgdm->multires.mmd && !fast) {
if (dm->numTessFaceData) {
BKE_pbvh_draw(ccgdm->pbvh, partial_redraw_planes, NULL,
More information about the Bf-blender-cvs
mailing list