VSE: 'Clear fade' function clears every opacity/volume keyframe and resets non-default baseline value #91386
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#91386
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
System Information
Operating system: Linux-5.4.0-84-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce 9800 GT/PCIe/SSE2 NVIDIA Corporation 3.3.0 NVIDIA 340.108
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-25 23:03, hash:
70fbdcb6bf
Worked: Unsure
Short description of error
The 'Clear fade' function used on either a visual or audio strip does not only clear the start/end fade(s), but any other set opacity/volume keyframes as well. It will also reset the baseline value to 1, even if the fades in the strip clearly operate on a baseline set to other than 1.
Exact steps for others to reproduce the error
clear-fade-function-clears-internal-value-changes-and-does-not-preserve-non-default-baseline-value.blend
(NOTE: In blend file, choose 'Clear fade' from the context menu for the top strip)
It is not expected that any fades apart from in and out will be cleared. In particular, it is quite common to have volume keyframes toyed with throughout the strip, so I do think targeting just the ins and outs is useful, certainly much more so than destroying all the keyframes (which one can achieve by choosing "Clear keyframes" directly on the property).
Also all the options to add fades are for adding fade-ins and fade-outs, so it's expected that the "Clear fade" will remove fade ins/outs as well. Either way, the description should be made clearer to reflect what will really happen.
A user-set, non-default baseline should also be preserved, if it clearly exists.
Added subscriber: @slinkeepie
VSE: 'Clear fade' function clears every opacity/volume keyframe and resets baseline valueto VSE: 'Clear fade' function clears every opacity/volume keyframe and resets non-default baseline valueAdded subscriber: @tintwotin
The fade functions are implemented as a temporary solution till time permits a proper implementation, maybe modifier based, so it will not interfere with f-curves. The functions are actually coded in python and can be updated without building Blender. Search for a file called sequencer.py in your Blender installation if you want to tinker with it, save it and restart Blender to see the changes.
Okay interesting, thanks for the heads up... if that's the case then I've no problem if this is closed (and hopefully it remains on the to-do list!).
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
I'd still keep this as this is really not behaving as it should.
(I know this is not the only case)
I also know this is not likely to be fixed (since as @tintwotin said, fades are just "regular" FCurves and identifying keyframes that belong to fades rather than handmade animation is pretty much not going to work I assume)
But would prefer #vfx_video devs to close this.
Added subscriber: @iss
Checking code, I see that this works as designed.
Still would be fine to improve this, but question is how exactly. Keyframes can't be tagged as fades and they can be moved around.
Best solution I think would be to check for keyframes at pre-defined frames and there would have to be no other keyframes, otherwise the script would have no idea what to do. If anybody have ideas, feel free to share.