[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59245] trunk/blender/source/blender/ blenkernel/intern/pbvh_bmesh.c: Fix #34413 Dyntopo, smooth shading normals not getting uploaded to GPU

Antony Riakiotakis kalast at gmail.com
Sun Aug 18 21:47:34 CEST 2013


Revision: 59245
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59245
Author:   psy-fi
Date:     2013-08-18 19:47:33 +0000 (Sun, 18 Aug 2013)
Log Message:
-----------
Fix #34413 Dyntopo, smooth shading normals not getting uploaded to GPU
and undo buffers.

When we have smooth shading we must not only update the unique vertex
normals.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c

Modified: trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c	2013-08-18 18:02:12 UTC (rev 59244)
+++ trunk/blender/source/blender/blenkernel/intern/pbvh_bmesh.c	2013-08-18 19:47:33 UTC (rev 59245)
@@ -1026,6 +1026,9 @@
 		GHASH_ITER (gh_iter, node->bm_unique_verts) {
 			BM_vert_normal_update(BLI_ghashIterator_getKey(&gh_iter));
 		}
+		GHASH_ITER (gh_iter, node->bm_other_verts) {
+			BM_vert_normal_update(BLI_ghashIterator_getKey(&gh_iter));
+		}
 	}
 }
 




More information about the Bf-blender-cvs mailing list