Revision: 49249
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49249
Author:   nazgul
Date:     2012-07-26 12:04:11 +0000 (Thu, 26 Jul 2012)
Log Message:
-----------
Fix #31897: Ctrl+Click in 'Hue Correct' Node Adds in Wrong Location

Misusage of X/Y coords, ancient one!

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_handlers.c

Modified: trunk/blender/source/blender/editors/interface/interface_handlers.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_handlers.c 
2012-07-26 11:47:47 UTC (rev 49248)
+++ trunk/blender/source/blender/editors/interface/interface_handlers.c 
2012-07-26 12:04:11 UTC (rev 49249)
@@ -3725,7 +3725,7 @@
                        offsy = cumap->curr.ymin;
 
                        if (event->ctrl) {
-                               fx = ((float)my - but->x1) / zoomx + offsx;
+                               fx = ((float)mx - but->x1) / zoomx + offsx;
                                fy = ((float)my - but->y1) / zoomy + offsy;
                                
                                curvemap_insert(cuma, fx, fy);

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

Reply via email to