Blender Git Commits
June 7, 2021, 15:25 (GMT) |
Tweak settings to reduce max. node scroll speed. Reduced the max. speed when edge-panning in the node editor from 70 to 40 UI units. Increased the fade-in delay from 0.6 to 1.0 seconds. |
June 7, 2021, 14:01 (GMT) |
Merge branch 'master' into node-editor-edge-pan |
June 7, 2021, 13:20 (GMT) |
Merge branch 'master' into node-editor-edge-pan |
May 3, 2021, 10:34 (GMT) |
Merge branch 'master' into node-editor-edge-pan |
April 28, 2021, 16:19 (GMT) |
Only apply edge panning in translation mode. |
April 28, 2021, 16:13 (GMT) |
Longer edge pan delay and higher max speed. |
April 28, 2021, 15:53 (GMT) |
Clean up comments. |
April 28, 2021, 15:45 (GMT) |
Remove unused include. |
April 28, 2021, 09:52 (GMT) |
Define edge-pan defaults on operator properties. Use the UI_view2d_edge_pan_operator_properties_ex function to define operator property defaults for edge panning, rather than setting fixed values after the operator is created. That way the defaults can still be changed by users in keymaps as one would expect from an operator. |
April 25, 2021, 15:29 (GMT) |
Add transform option to disable cursor wrapping. Transform operator had cursor wrapping categorically enabled, but this gets quite confusing with the edge scrolling mechanism. A new TransInfo option T_NO_CURSOR_WRAP has been introduced to disable this behavior. The double negative is a bit annoying, but want to avoid affecting the existing transform modes, so by default it should still set the OP_IS_MODAL_GRAB_CURSOR flag (which then sets the WM_CURSOR_WRAP_XY flag during modal execution). |
April 24, 2021, 11:42 (GMT) |
Fix region-based mouse coordinates for panning. |
April 24, 2021, 10:36 (GMT) |
Tweak node panning settings. |
April 24, 2021, 10:20 (GMT) |
Take v2d change into account in node transforms. Store the initial v2d->cur rect, then apply the difference as transform to nodes during transform. This ensures nodes are moving along with the view rect when edge panning in the node editor. |
April 24, 2021, 08:42 (GMT) |
Basic support for edge pan in node transforms. Nodes currently are stuck to the 2D view rect, so when edge panning they don't move with the view and fall behind. |
April 24, 2021, 08:12 (GMT) |
Edge pan apply function does not need operator. |
April 23, 2021, 17:46 (GMT) |
Use operator props for configuring edge panning. |
April 23, 2021, 12:18 (GMT) |
Re-use the new edge pan API for existing operator. |
April 23, 2021, 11:31 (GMT) |
Make edge pan behavior configurable. |
April 20, 2021, 08:21 (GMT) |
Moved edge pan functions into a public UI header. Edge panning operator customdata and supporting functions now in UI_view2d.h, so they could be used by operators in other editor libraries. |
April 19, 2021, 07:32 (GMT) |
Edge-scrolling for node "link" operator. Largely copied from the VIEW2D_OT_edge_pan operator. Starts scrolling when dragging a node link and going outside the current window. |