446b92d2cecab1caa6c7aa1b63ae822461b9144b
When moving keys in the Graph Editor animators usually only want to move them on one axis. While this is possible in a few ways (G+X, or G + Middle Mouse Button click), we could default the behavior to always lock on an axis. This was suggested by Dreamworks animators during the Animation & Rigging module meeting. https://devtalk.blender.org/t/2024-01-26-animation-rigging-module-meeting/33081#patch-review-decision-time-5 This PR adds an option with which the movement is always locked to a single axis by default. The option can be found in the Graph Editor under "View->Auto-Lock Axis". The movement will then be restricted to the axis along which you've moved the cursor the most. You can still manually override the lock behavior by pressing `X` or `Y`. I am piggybacking off the auto locking feature you get when pressing the middle mouse button. When the new feature is enabled I call that at the start of the transformation. Except when: * only handles are selected * the tweak mode has been started on a handle This is to not snap handles, which is a behavior that has been requested by the artists. Pull Request: https://projects.blender.org/blender/blender/pulls/117669
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
