Blender Git Commit Log

Git Commits -> Revision 4d605ef

Revision 4d605ef by Philipp Oeser (master)
October 27, 2021, 08:22 (GMT)
Fix T92427: Adding new nodes does no edge-panning

Unlike translating existing nodes [which disables cursor wrapping and
enables edge-panning instead since rBSa1cc7042a74], adding new nodes
would still show the old behavior of cursor wrapping.

This has been disabled for the case when the node whould be added
outside (due to menus overlapping other editors).

Now enable edge-panning for adding new nodes as well and make sure
this only starts once the mouse has returned into the inside rect once.

Maniphest Tasks: T92427

Differential Revision: https://developer.blender.org/D13005

Commit Details:

Full Hash: 4d605ef2f413e8ab484743218f0d0517138513d5
Parent Commit: b94447a
Lines Changed: +14, -1

3 Modified Paths:

/source/blender/editors/include/UI_view2d.h (+3, -0) (Diff)
/source/blender/editors/interface/view2d_edge_pan.c (+10, -1) (Diff)
/source/blender/editors/space_node/node_ops.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021