Merging r50049 through r50076 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / space_node / space_node.c
index 4e17cde313b9aa2da04e012cb6edafefa5cf77c4..fbe282915000c8cc5ec2c941c7fd1842fd9bcf05 100644 (file)
@@ -343,7 +343,7 @@ static void node_cursor(wmWindow *win, ScrArea *sa, ARegion *ar)
 
        /* convert mouse coordinates to v2d space */
        UI_view2d_region_to_view(&ar->v2d, win->eventstate->x - ar->winrct.xmin, win->eventstate->y - ar->winrct.ymin,
-                                &snode->mx, &snode->my);
+                                &snode->cursor[0], &snode->cursor[1]);
 
        node_set_cursor(win, snode);
 }