[Bf-blender-cvs] [078fb9b] wiggly-widgets: Fix for wrong operator assigned to rotate widgets

Julian Eisel noreply at git.blender.org
Thu Apr 9 16:32:06 CEST 2015


Commit: 078fb9bf278442eafb26556c6c3ee9e945d9734f
Author: Julian Eisel
Date:   Thu Apr 9 12:20:31 2015 +0200
Branches: wiggly-widgets
https://developer.blender.org/rB078fb9bf278442eafb26556c6c3ee9e945d9734f

Fix for wrong operator assigned to rotate widgets

Copy&paste stupidness

===================================================================

M	source/blender/editors/transform/manipulator_widget.c

===================================================================

diff --git a/source/blender/editors/transform/manipulator_widget.c b/source/blender/editors/transform/manipulator_widget.c
index a62f4b6..e654ea1 100644
--- a/source/blender/editors/transform/manipulator_widget.c
+++ b/source/blender/editors/transform/manipulator_widget.c
@@ -1766,9 +1766,9 @@ void WIDGETGROUP_manipulator_update(const struct bContext *C, struct wmWidgetGro
 	WM_widget_operator(manipulator->translate_x, "TRANSFORM_OT_translate");
 	WM_widget_operator(manipulator->translate_y, "TRANSFORM_OT_translate");
 	WM_widget_operator(manipulator->translate_z, "TRANSFORM_OT_translate");
-	WM_widget_operator(manipulator->rotate_x, "TRANSFORM_OT_translate");
-	WM_widget_operator(manipulator->rotate_y, "TRANSFORM_OT_translate");
-	WM_widget_operator(manipulator->rotate_z, "TRANSFORM_OT_translate");
+	WM_widget_operator(manipulator->rotate_x, "TRANSFORM_OT_rotate");
+	WM_widget_operator(manipulator->rotate_y, "TRANSFORM_OT_rotate");
+	WM_widget_operator(manipulator->rotate_z, "TRANSFORM_OT_rotate");
 
 	if (v3d->twtype & V3D_MANIP_TRANSLATE) {
 		/* should be added according to the order of axis */




More information about the Bf-blender-cvs mailing list