Anim: Add Action+Slot selectors to Property editor tabs #127074
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#127074
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "dr.sybren/blender:anim/action-selectors-property-editor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add Action + Action Slot selectors to various Property Editor tabs. This
follows the pattern established in
f917b60036
.Emptyproperties are on the Object.Textis CurvesAlready landed in
main
before this PR:Can be animated but not included in this PR:
Since this PR is about adding to the Property Editor, some data-blocks that have no representation there are thus excluded. Even when they could actually use an Action+Slot selector somewhere.
Freestyle (which needs to be enabled from Render properties) has its own action currently, and isn't part of sceneAction, so will probably need its own picker as well
Update:
Freestyle (or Line Style) also has its own Shader Nodetree, but no way to expose node keyframes in dope sheet (again don't know if this important for here, just trying to find eveything that has its own action and possibly needs a slot)
Light objects also have their own node trees in Cycles
Legacy and awful Texture data-block can also be animated and has its own action. It is difficult to expose (add Displace modifier, create new texture, go to textur eproperties and animate it, make modifier active to see action).
To make matters worse it also has its own node-tree
Thanks for the help!
I'll write in the PR description that I'm intentionally skipping this one, because it's not available in the Properties Editor.
👍
The Dope sheet limitations are not important here ;-) This PR is about the Properties Editor, and if it's shown there and can have an Action, it should get a selector for it.
👍
Yeah, that one I've added too. I've included its "user" ID as well in there, because (at least for the particle sims) the "Texture" panel is actually showing the texture slot properties of the Particle Settings ID. And thus their animation goes into the Particle Settings Action, and not the Texture's Action. So yeah, yay for being able to put that animation into the same Action now.
Hah, nice.
Thanks again for the help!
@nickberckley how did you add that? I can see the Python property, so I can add the code, but how do I actually get to see that shader node tree in the UI?
@dr.sybren Its in separate Texture Node Editor. By default mode (next to editor button) is empty, and you have to switch to Brush. After that active texture in Textures properties category is active there as well
Looks good to me, and works great in testing.
why is the "New slot" button using the duplicate icon and not the "Plus"?
apart from the question about the "Add Slot" icon this lgtm
@blender-bot build
@blender-bot build
Going to land, even though the buildbot coordinator build is still marked as failed. The failure was in the darwin/arm64 build, which seems to randomly fail on versioning test. Rebuilding gave it a green checkmark, but didn't update the coordinator status.
Hah, of course you have to select "Brush" to get to the Texture node for a particle system.
Fortunately my code works for this as well 😹
because it's using
layout.template_search()
, whilelayout.template_action()
is based onlayout.template_id()
. Andtemplate_search()
andtemplate_id()
behave differently in this respect. We might be able to work around this, but IMO that's for a different PR.