Animation: Exiting NLA tweak mode on empty action corrupts entire NLA track #102518

Open
opened 2022-11-15 06:03:03 +01:00 by Colin Basnett · 10 comments
Member

System Information
Operating system: Windows 11
Graphics card: NVIDIA RTX 3060 Ti

Blender Version
Broken: 3.3.0, 3.5.0
Worked: Unknown

Short description of error

When tweaking a strip on the NLA, if the user deletes all the keyframes of the action being tweaked, when the user exits tweak mode, all other NLA strips on that track will be moved in an unexpected and undesirable way.

tweakbug.mp4

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. Open the attached .blend file
  2. Delete the keyframes on the track being tweaked.
  3. Exit tweak mode by pressing Tab.
  4. Observe that the NLA strips have been moved.

tweakbug.blend

**System Information** Operating system: Windows 11 Graphics card: NVIDIA RTX 3060 Ti **Blender Version** Broken: 3.3.0, 3.5.0 Worked: Unknown **Short description of error** When tweaking a strip on the NLA, if the user deletes all the keyframes of the action being tweaked, when the user exits tweak mode, all other NLA strips on that track will be moved in an unexpected and undesirable way. [tweakbug.mp4](https://archive.blender.org/developer/F13915592/tweakbug.mp4) **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. Open the attached .blend file 2. Delete the keyframes on the track being tweaked. 3. Exit tweak mode by pressing Tab. 4. Observe that the NLA strips have been moved. [tweakbug.blend](https://archive.blender.org/developer/F13915591/tweakbug.blend)
Author
Member

Added subscriber: @cmbasnett

Added subscriber: @cmbasnett
Member

Added subscriber: @BClark

Added subscriber: @BClark
Member

Is this when Sync is on?

Is this when Sync is on?
Member

IF you turn off sync length then it works fine, doesn't move.
If it is the first clip on the track and you remove it, the clip goes to 0 but stays on the start frame of the strip.

IF it is the second or a strip that is after another strip on a track, with sync on, then it moves the strip to the end of the previous strip

IF you turn off sync length then it works fine, doesn't move. If it is the first clip on the track and you remove it, the clip goes to 0 but stays on the start frame of the strip. IF it is the second or a strip that is after another strip on a track, with sync on, then it moves the strip to the end of the previous strip
Author
Member

Thanks for following up and investigating more @RiggingDojo.

It's probably worth it to ask what we even want to happen if the strip's action ends up with no keyframes after tweaking. Should we maybe just remove the strip entirely?

Thanks for following up and investigating more @RiggingDojo. It's probably worth it to ask what we even want to happen if the strip's action ends up with no keyframes after tweaking. Should we maybe just remove the strip entirely?
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

In #102518#1446441, @BClark wrote:
IF it is the second or a strip that is after another strip on a track, with sync on, then it moves the strip to the end of the previous strip

Why is CubeAction moved as well then?

(will confirm for now, seems unexpected to me -- and also requires a design in regards to what @cmbasnett said [whether to remove empty strips entirely]

> In #102518#1446441, @BClark wrote: > IF it is the second or a strip that is after another strip on a track, with sync on, then it moves the strip to the end of the previous strip Why is `CubeAction` moved as well then? (will confirm for now, seems unexpected to me -- and also requires a design in regards to what @cmbasnett said [whether to remove empty strips entirely]
Member

We discussed this and the strip shouldn't be removed. It should act like it does if it is the only or first strip, if sync is on and keys are removed.

We discussed this and the strip shouldn't be removed. It should act like it does if it is the only or first strip, if sync is on and keys are removed.
Member

"Why is CubeAction moved as well then?"

That I don't know, I couldn't get that to reproduce.

"Why is CubeAction moved as well then?" That I don't know, I couldn't get that to reproduce.
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:34:44 +01:00
Sign in to join this conversation.
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
3 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#102518
No description provided.