WIP: anim/baklava-action-editor-bindings-and-camera-binding-selector #122834

Closed
Sybren A. Stüvel wants to merge 20 commits from dr.sybren:anim/baklava-action-editor-bindings-and-camera-binding-selector into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

Merge #122500 and #122672 in one branch, for demo'ing at the module meeting.

Merge #122500 and #122672 in one branch, for demo'ing at the module meeting.
Sybren A. Stüvel added the
Module
Animation & Rigging
label 2024-06-06 17:03:02 +02:00
Sybren A. Stüvel added 20 commits 2024-06-06 17:03:07 +02:00
- Rename the enum property `AnimData.action_binding` to
  `.action_binding_enum` to move it out of the way.
- Add a new pointer property `AnimData.action_binding`
- Use `template_search()` to show the selector

This has a few issues though:

- The `Binding.name` property is used for display & edit of the name.
  This should be using `name_display` instead.
- It doesn't seem to be possible to show an icon.
- `template_search()` eats up reports, so that choosing an incompatible
  binding is silently ignored (instead of showing the actual message).
Add a temp icon for action bindings. This is now just the "link" icon,
which shouldn't be reused for this.
This is a proof-of-concept panel, to figure out how to present the
Action selector in object data property panels.
Doesn't work yet.
Use the binding's display name in the dope sheet channel list, rather than
its internal name.
The anim filtering code for bindings was not respecting the
`ANIMFILTER_FCURVESONLY` flag, and thus always returning an
`bAnimListElem` for the binding itself.

Now, if the flag is there, it ignores the binding's expansion state, and
then always produces elements for the FCurves for that binding.
Merge branch 'anim/baklava-binding-selector' into anim/baklava-action-editor-bindings-and-camera-binding-selector
Some checks failed
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
9cc48bb549
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR122834) when ready.
Some checks failed
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#122834
No description provided.