Fix #101374: enable edge panning for move operators in menus #104482

Merged
Member

This patch enables the edge panning for the two operators where there
was a mismatch between the behaviour when pressing G and the "Move"
operator exposed via the menu and operator search.

Commit 19da434e9c introduced a view2d_edge_pan property which
was activated for the translate operators invoked when pressing G in
the default keymap.
Since the property is not enabled by default, to avoid it getting in the
way in some cases, the "Move" operators exposed via the menus didn't
have edge panning. This lead to inconsistent behavior between moving via
the shortcut or via the menu.


Originally submitted here: https://archive.blender.org/developer/D16457

Comparison

master patch
Node Editor master-node-editor.png patch-node-editor.png
Sequencer master-sequencer.png patch-sequencer.png
This patch enables the edge panning for the two operators where there was a mismatch between the behaviour when pressing `G` and the "Move" operator exposed via the menu and operator search. Commit 19da434e9cc0 introduced a `view2d_edge_pan` property which was activated for the translate operators invoked when pressing G in the default keymap. Since the property is not enabled by default, to avoid it getting in the way in some cases, the "Move" operators exposed via the menus didn't have edge panning. This lead to inconsistent behavior between moving via the shortcut or via the menu. ----- Originally submitted here: https://archive.blender.org/developer/D16457 **Comparison** | | master | patch | | --- | --- | --- | | **Node Editor** | ![master-node-editor.png](/attachments/e120fd4a-6f11-45d1-8626-77255b52b387) | ![patch-node-editor.png](/attachments/f6f70dcb-fd15-4443-9db4-00dc5c1263ef) | | **Sequencer** | ![master-sequencer.png](/attachments/163e1bef-e04e-4a67-a5f3-f8a0f8279284) | ![patch-sequencer.png](/attachments/a2e2c02f-ee2e-45df-95e1-a8a2bb419e77) |
Leon Schittek added the
Module
User Interface
label 2023-02-08 19:50:57 +01:00
Brecht Van Lommel changed title from Fix T101374: Enable edge panning for move operators in menus to Fix #101374: enable edge panning for move operators in menus 2023-02-09 12:45:25 +01:00
Brecht Van Lommel added this to the User Interface project 2023-02-13 09:22:30 +01:00
Brecht Van Lommel approved these changes 2023-03-10 13:04:54 +01:00
Brecht Van Lommel left a comment
Owner

Makes sense, this should be consistent between the menu and keymap.

Makes sense, this should be consistent between the menu and keymap.
lone_noel changed target branch from main to blender-v3.5-release 2023-03-10 15:47:29 +01:00
Leon Schittek force-pushed fix-101374-move-operator-edge-panning from ab27af08ef to c569d5efdc 2023-03-10 16:17:19 +01:00 Compare
Leon Schittek merged commit 382a54aefb into blender-v3.5-release 2023-03-10 16:22:59 +01:00
Leon Schittek deleted branch fix-101374-move-operator-edge-panning 2023-03-10 16:23:01 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#104482
No description provided.