Blender Git Commit Log

Git Commits -> Revision 2060211

Revision 2060211 by Juho Vepsalainen (master)
February 23, 2008, 10:33 (GMT)
Nodes to be created at the location in which the mouse cursor was initially
This commit changes the way new nodes are created. Previously nodes were created
at the last location of the mouse cursor before creating a new node. After this
commit the nodes are created at the initial location in which the cursor was
before the menu used to add the node was opened.

This makes it possible for the user to predict where the new node appears without
having to move it to desired location like before. There is no option for this as
this behaviour is clearly superior to previous.

Codewise it uses static variables. This is something to fix during 2.50 rewrite.

Thanks to paprmh for contribution!

Commit Details:

Full Hash: 206021113da61f352d96805af7e82e9d41dd70b9
SVN Revision: 13824
Parent Commit: 14fafab
Lines Changed: +28, -1

3 Modified Paths:

/source/blender/include/BIF_toolbox.h (+2, -0) (Diff)
/source/blender/src/header_node.c (+1, -1) (Diff)
/source/blender/src/toolbox.c (+25, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021