[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58007] trunk/blender/source/blender/ editors/object/object_vgroup.c: replaced OPERATOR_CANCELLED by OPERATOR_FINISHED to get the redo panel for Transfer Weights

Gaia Clary gaia.clary at machinimatrix.org
Thu Jul 4 22:33:53 CEST 2013


Revision: 58007
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58007
Author:   gaiaclary
Date:     2013-07-04 20:33:52 +0000 (Thu, 04 Jul 2013)
Log Message:
-----------
replaced OPERATOR_CANCELLED by OPERATOR_FINISHED to get the redo panel for Transfer Weights

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	2013-07-04 20:24:22 UTC (rev 58006)
+++ trunk/blender/source/blender/editors/object/object_vgroup.c	2013-07-04 20:33:52 UTC (rev 58007)
@@ -3781,7 +3781,7 @@
 	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 @@
 			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 */
 	}
 }
 




More information about the Bf-blender-cvs mailing list