[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55178] trunk/blender/source/blender/ blenkernel/intern/DerivedMesh.c: Fix: Vertex weight color calculation tried to use NULL pointer when called through DM_update_weight_mcol ().
Miika Hamalainen
miika.hamalainen at kolumbus.fi
Sun Mar 10 20:10:21 CET 2013
Revision: 55178
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55178
Author: miikah
Date: 2013-03-10 19:10:20 +0000 (Sun, 10 Mar 2013)
Log Message:
-----------
Fix: Vertex weight color calculation tried to use NULL pointer when called through DM_update_weight_mcol(). (Introduced in r55062.)
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55062
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/DerivedMesh.c
Modified: trunk/blender/source/blender/blenkernel/intern/DerivedMesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/DerivedMesh.c 2013-03-10 18:53:47 UTC (rev 55177)
+++ trunk/blender/source/blender/blenkernel/intern/DerivedMesh.c 2013-03-10 19:10:20 UTC (rev 55178)
@@ -1035,7 +1035,7 @@
{
float colf[4];
- if (dm_wcinfo->coba) {
+ if (dm_wcinfo && dm_wcinfo->coba) {
do_colorband(dm_wcinfo->coba, input, colf);
}
else {
More information about the Bf-blender-cvs
mailing list