Commit: 67522d9d1e2819004b729eb7b4a03ac02d2d4baf
Author: Julian Eisel
Date:   Sat Nov 28 00:28:39 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB67522d9d1e2819004b729eb7b4a03ac02d2d4baf

Fix regression caused by recent C99 cleanup commit

Caused by rBcb82eda2e, arrows didn't drag correctly.

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

M       source/blender/windowmanager/intern/wm_generic_widgets.c

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

diff --git a/source/blender/windowmanager/intern/wm_generic_widgets.c 
b/source/blender/windowmanager/intern/wm_generic_widgets.c
index 4fcff75..a564ff5 100644
--- a/source/blender/windowmanager/intern/wm_generic_widgets.c
+++ b/source/blender/windowmanager/intern/wm_generic_widgets.c
@@ -448,7 +448,7 @@ static int widget_arrow_handler(bContext *C, const wmEvent 
*event, wmWidget *wid
 
        normalize_v3(viewvec);
        if (!use_vertical) {
-               int fac;
+               float fac;
                /* now find a plane parallel to the view vector so we can 
intersect with the arrow direction */
                cross_v3_v3v3(tangent, viewvec, offset);
                cross_v3_v3v3(plane, tangent, viewvec);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to