[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49249] trunk/blender/source/blender/ editors/interface/interface_handlers.c: Fix #31897: Ctrl+Click in ' Hue Correct' Node Adds in Wrong Location
Sergey Sharybin
sergey.vfx at gmail.com
Thu Jul 26 14:04:13 CEST 2012
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);
More information about the Bf-blender-cvs
mailing list