[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47437] branches/meshdata_transfer/source/ blender/editors/object/object_vgroup.c: Now the feature is more intuitive.
Ove Murberg Henriksen
sorayasilvermoon at hotmail.com
Tue Jun 5 00:17:55 CEST 2012
Revision: 47437
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47437
Author: cyborgmuppet
Date: 2012-06-04 22:17:40 +0000 (Mon, 04 Jun 2012)
Log Message:
-----------
Now the feature is more intuitive. copying from selected to active.
Modified Paths:
--------------
branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c
Modified: branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c
===================================================================
--- branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c 2012-06-04 20:50:59 UTC (rev 47436)
+++ branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c 2012-06-04 22:17:40 UTC (rev 47437)
@@ -3046,14 +3046,14 @@
switch (vertex_group_option) {
case REPLACE_SINGLE_VERTEX_GROUP:
- if (ED_vgroup_transfer_weight(ob_slc, ob_act, BLI_findlink(&ob_act->defbase, ob_act->actdef - 1), scene, method_option, replace_option))
+ if (ED_vgroup_transfer_weight(ob_act, ob_slc, BLI_findlink(&ob_slc->defbase, ob_slc->actdef - 1), scene, method_option, replace_option))
change++;
else fail++;
break;
case REPLACE_ALL_VERTEX_GROUPS:
- for (dg_src = ob_act->defbase.first; dg_src; dg_src = dg_src->next) {
- if (ED_vgroup_transfer_weight(ob_slc, ob_act, dg_src, scene, method_option, replace_option)) change++;
+ for (dg_src = ob_slc->defbase.first; dg_src; dg_src = dg_src->next) {
+ if (ED_vgroup_transfer_weight(ob_act, ob_slc, dg_src, scene, method_option, replace_option)) change++;
else fail++;
}
break;
More information about the Bf-blender-cvs
mailing list