diff options
author | Juho Vepsalainen <bebraw@gmail.com> | 2008-02-23 13:33:36 +0300 |
---|---|---|
committer | Juho Vepsalainen <bebraw@gmail.com> | 2008-02-23 13:33:36 +0300 |
commit | 206021113da61f352d96805af7e82e9d41dd70b9 (patch) | |
tree | f40167e81d4cf9d4b29a3b3fa539d73e372f222c /source/blender/nodes | |
parent | 14fafab60a5c5ecfdbbf8e532b4980207a191a45 (diff) |
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!
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions