diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-07-05 00:33:52 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-07-05 00:33:52 +0400 |
commit | db9f21ddd31dc373bb056ec5b5e7bb8f39582fd4 (patch) | |
tree | 13e1ce791c0ccd546e795a7f4c809ee43ea8a49c /source/blender/editors/object/object_vgroup.c | |
parent | db71b5ef88ada7cccf6e86dfd30e58dc9668cf61 (diff) |
replaced OPERATOR_CANCELLED by OPERATOR_FINISHED to get the redo panel for Transfer Weights
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 54d61276dca..03200e56f32 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -3781,7 +3781,7 @@ static int vertex_group_transfer_weight_exec(bContext *C, wmOperator *op) if (vertex_group_mode == WT_REPLACE_ACTIVE_VERTEX_GROUP) { if (!dg_act) { BKE_report(op->reports, RPT_WARNING, "Failed, active object has no active groups"); - return OPERATOR_CANCELLED; + return OPERATOR_FINISHED; /* to get the chance to make changes in the redo panel*/ } } @@ -3868,7 +3868,7 @@ static int vertex_group_transfer_weight_exec(bContext *C, wmOperator *op) BKE_report(op->reports, RPT_WARNING, "Failed, no other selected objects with vertex groups found."); } - return OPERATOR_CANCELLED; + return OPERATOR_FINISHED; /* to get the chance to make changes in the redo panel */ } } |