Show FCurve modifier toggle widget as 'inactive' when there are no modifiers #106214
Merged
Sybren A. Stüvel
merged 5 commits from 2023-09-14 15:03:43 +02:00
dr.sybren/blender:anim/fcurve-modifier-toggle-visibility
into main
Reviewers
Request review
No reviewers
Labels
Clear labels
This issue affects/is about backward or forward compatibility
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
This issue affects/is about backward or forward compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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 & 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
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
4 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#106214
Reference in New Issue
There is no content yet.
Delete Branch "dr.sybren/blender:anim/fcurve-modifier-toggle-visibility"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
In the animation editors, show the FCurve Modifier toggle widget (the wrench) as 'inactive' when the FCurve has no modifiers on it.
The above image shows, from top to bottom, the following cases:
Note 1: this PR affects all channel lists, so also the various Dopesheet modes and the Timeline.
Note 2: this PR only affects FCurves, and not FCurve Groups. This is also something to discuss here, whether FCurve Groups should get the same treatment (only showing the wrench when one or more contained FCurves have modifiers).
Note 3: In an earlier version of this PR, the wrench icon would be completely hidden when the FCurve had no modifier. This was discussed in a module meeting and decided that making it 'inactive' would be better.
Is it relevant to keep the icon next to the bone name when there is not modifier at all?
EG. FK-Shoulder.L
BTW, I'm pretty new to this so if there is anything I need to do for you to get feedback, just let me know.
@P2design , refer "Note 2" :)
PR is only affecting channels (ex: "X location") and not groups ("FK-Shoulder.L")
@blender-bot package
yeah, that's the bone group thing.
Package build started. Download here when ready.
hi,
There is a little bug @dr.sybren
if you have a modifier on 2 different channels.
You disable one of the modifer, it will also disable the master wrench icon near the bone name. It makes sense as it allows to know there might be a disabled modifier in that bone.
But if you re-enable the channel modifier, the bone modifier still appear muted while the modifier is influencing the bone.
The same happens with a single modifier, if you disable/enable on the channel, it won't update the "master" icon
This is a little bug.
Then, I do feel that at some point will need to add a way to tell :
Oh yes, this is a completely different switch from the individual modifier enable/disable buttons. This PR doesn't change what the wrench icon does, it just decides to not show it when there is no modifier.
Only show FCurve modifier toggle widget when there are modifiersto Show FCurve modifier toggle widget as 'inactive' when there are no modifiers@blender-bot package
Package build started. Download here when ready.
In the 2023-06-08 module meeting Nathan mentioned some confusion about what the different icon variations (grey vs white, and filled vs hollow) mean. Since this PR uses the existing icon semantics, changing that would be for a different PR. Because that was the only remark during the meetings where this PR was discussed, I'll just land it as-is.
Reviewers