[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51249] trunk/blender/source/blender/ editors/object/object_vgroup.c: Its silly to use "verify index" because it will add non existing and remove them afterwards.
Ove Murberg Henriksen
sorayasilvermoon at hotmail.com
Wed Oct 10 10:50:56 CEST 2012
Revision: 51249
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51249
Author: cyborgmuppet
Date: 2012-10-10 08:50:56 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
Its silly to use "verify index" because it will add non existing and remove them afterwards.
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 2012-10-10 08:47:53 UTC (rev 51248)
+++ trunk/blender/source/blender/editors/object/object_vgroup.c 2012-10-10 08:50:56 UTC (rev 51249)
@@ -511,7 +511,7 @@
if (*dv_dst == NULL) continue;
- dw_dst = defvert_verify_index(*dv_dst, index_dst);
+ dw_dst = defvert_find_index(*dv_dst, index_dst);
/* remove vertex from group */
if (dw_dst) defvert_remove_group(*dv_dst, dw_dst);
}
More information about the Bf-blender-cvs
mailing list