[Bf-blender-cvs] [392e9e1] wiggly-widgets: Fix release comfirm for central widget in transform operator
Antony Riakiotakis
noreply at git.blender.org
Wed Oct 1 19:01:23 CEST 2014
Commit: 392e9e18f1d5c2887ad1f65d1979f4b0b04a8b0d
Author: Antony Riakiotakis
Date: Wed Oct 1 19:01:18 2014 +0200
Branches: wiggly-widgets
https://developer.blender.org/rB392e9e18f1d5c2887ad1f65d1979f4b0b04a8b0d
Fix release comfirm for central widget in transform operator
===================================================================
M source/blender/editors/transform/transform_manipulator.c
===================================================================
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 48fb9ab..6fa7cc5 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1865,6 +1865,7 @@ int BIF_manipulator_handler(bContext *C, const struct wmEvent *event, wmWidget *
PointerRNA props_ptr;
wmOperatorType *ot = WM_operatortype_find("TRANSFORM_OT_trackball", true);
WM_operator_properties_create_ptr(&props_ptr, ot);
+ RNA_boolean_set(&props_ptr, "release_confirm", true);
WM_operator_name_call(C, ot->idname, WM_OP_INVOKE_DEFAULT, &props_ptr);
//wm_operator_invoke(C, WM_operatortype_find(ot->idname, 0), event, NULL, NULL, false);
WM_operator_properties_free(&props_ptr);
More information about the Bf-blender-cvs
mailing list