Refactor: move keyingset enums to animrig #121132

Merged
Christoph Lendenfeld merged 1 commits from ChrisLend/blender:refactor_move_keyingset_enums into main 2024-05-02 12:00:50 +02:00

No functional changes expected.

This PR moves the enums
eModifyKey_Modes and eModifyKey_Returns to animrig
as enum classes.

Functions that take or return that value were also modified.

No functional changes expected. This PR moves the enums `eModifyKey_Modes` and `eModifyKey_Returns` to animrig as enum classes. Functions that take or return that value were also modified.
Christoph Lendenfeld added the
Module
Animation & Rigging
label 2024-04-26 15:51:49 +02:00
Christoph Lendenfeld added 1 commit 2024-04-26 15:52:00 +02:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
563db41da7
move enum to animrig
Author
Member

@blender-bot build

@blender-bot build

Although I do think it's good to move things into the animrig module, I don't see the particular upside to this move. If some #include "ED_keyframing.hh" were removed, then it would be different, but as it is now, it just adds yet another header to include. Or am I missing something?

Although I do think it's good to move things into the `animrig` module, I don't see the particular upside to this move. If some `#include "ED_keyframing.hh"` were removed, then it would be different, but as it is now, it just adds yet another header to include. Or am I missing something?
Author
Member

@dr.sybren By moving the keying set code to animrig, we can remove the editor include from the auto-keying code.
I am just trying to go there with small steps disentangling/modernising the keying set code as I go.
Though I see how that wasn't clear at all from the PR description. I will make an overarching TODO to track the progress and have the goal stated centrally.

@dr.sybren By moving the keying set code to animrig, we can remove the editor include from the auto-keying code. I am just trying to go there with small steps disentangling/modernising the keying set code as I go. Though I see how that wasn't clear at all from the PR description. I will make an overarching TODO to track the progress and have the goal stated centrally.
Sybren A. Stüvel approved these changes 2024-05-02 11:39:11 +02:00
Sybren A. Stüvel left a comment
Member

That's the info I was missing, indeed -- the current PR doesn't remove any #include yet, so I was a bit 'hmmmmmmm'.

In any case, good move forward, let's keep moving!

That's the info I was missing, indeed -- the current PR doesn't remove any `#include` yet, so I was a bit 'hmmmmmmm'. In any case, good move forward, let's keep moving!
Christoph Lendenfeld merged commit 5b7a0ed1b5 into main 2024-05-02 12:00:50 +02:00
Christoph Lendenfeld deleted branch refactor_move_keyingset_enums 2024-05-02 12:00:53 +02: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#121132
No description provided.