Blender Git Loki

Git Commits -> Revision 0b295e8

June 29, 2021, 11:38 (GMT)
Improvements to edge panning in the node editor.

- New operator property to toggle edge panning in the keymap.
This is disabled by default to avoid edge-panning in cases where it
gets distracting, such as adding a new node. Only the explicit
translate operator(s) (GKEY or drag) have this enabled now.

- Restore the initial view rect on edge pan cancel.
The initial view rect is now stored in the edge pan operator data.
When an operator with edge panning is cancelled it can now call the
UI_view2d_edge_pan_cancel function to restore the original View2D
rect.

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

Commit Details:

Full Hash: 0b295e886e73c4aaee88e746b0b59b35ac88b38c
Parent Commit: 53d1c5a
Lines Changed: +46, -16

4 Modified Paths:

/source/blender/editors/include/UI_view2d.h (+7, -1) (Diff)
/source/blender/editors/interface/view2d_edge_pan.c (+22, -0) (Diff)
/source/blender/editors/space_node/node_relationships.cc (+4, -0) (Diff)
/source/blender/editors/transform/transform_convert_node.c (+13, -15) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021