[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30089] trunk/blender/source/blender/ editors/object/object_vgroup.c: Fix for bug #22763, Blender 2. 52 Crashes with the default scene when in weight paint mode clicking the Levels option

Nicholas Bishop nicholasbishop at gmail.com
Wed Jul 7 19:32:51 CEST 2010


Revision: 30089
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30089
Author:   nicholasbishop
Date:     2010-07-07 19:32:50 +0200 (Wed, 07 Jul 2010)

Log Message:
-----------
Fix for bug #22763, Blender 2.52 Crashes with the default scene when in weight paint mode clicking the Levels option

* Add a `return 0' to ED_vgroup_give_parray to avoid falling through from mesh to lattice

Modified Paths:
--------------
    trunk/blender/source/blender/editors/object/object_vgroup.c

Modified: trunk/blender/source/blender/editors/object/object_vgroup.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_vgroup.c	2010-07-07 17:08:20 UTC (rev 30088)
+++ trunk/blender/source/blender/editors/object/object_vgroup.c	2010-07-07 17:32:50 UTC (rev 30089)
@@ -166,6 +166,8 @@
 
 					return 1;
 				}
+				else
+					return 0;
 			}
 			case ID_LT:
 			{





More information about the Bf-blender-cvs mailing list