Blender Git Commit Log

Git Commits -> Revision 1dbcd10

July 1, 2021, 09:29 (GMT)
Zoom influence factor for edge scroll speed.

This allows modifying the scroll speed based on the View2D zoom factor.
With influence 0.0 (default behavior) the speed will be constant in
UI space as before.
At maximum influence 1.0 the speed will instead max out in the view
space, i.e. scrolls slower in UI space when zooming out.
At intermediate values the zoom influence is proportionally reduced,
for example at influence 0.5 the view will scroll as if zoom factor is
half of the actual zoom.

This feature is used in the node editor to slow down scrolling a bit
when zoomed out.

Commit Details:

Full Hash: 1dbcd108ec69379e8a0c91ab5bbf5f969f95ccf4
Parent Commit: 1e380a6
Lines Changed: +39, -11

5 Modified Paths:

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