F-curve editor displays incorrect curve for reversed NLA strips #35708

Open
opened 2013-06-11 12:32:08 +02:00 by Paul R · 7 comments

Operating System, Graphics card
Linux SuSE 12.2 (x86_64)
NVidia GTX560ti (official driver)

Blender version with error, and version that worked
Broken: 2.67b - 2.91 and recent buildbot binaries

Short description of error
Reversing a strip in the NLA editor makes the f-curve editor display animation curves incorrectly. This is only a UI/display issue - object will still animate as expected.

Steps for others to reproduce the error (preferably based on attached .blend file)

  • add a couple of keyframes to an object and switch to NLA
  • turn action into action strip (snowflake icon)
  • in the strip properties, enable 'Reversed'
  • go into edit/tweak mode for the strip then switch to f-curve editor
  • animation curves are drawn incorrectly

#35708-nla-reverse-display-issue.blend

Normal:
image.png

Reversed:
image.png

**Operating System, Graphics card** Linux SuSE 12.2 (x86_64) NVidia GTX560ti (official driver) **Blender version with error, and version that worked** Broken: 2.67b - 2.91 and recent buildbot binaries **Short description of error** Reversing a strip in the NLA editor makes the f-curve editor display animation curves incorrectly. This is only a UI/display issue - object will still animate as expected. **Steps for others to reproduce the error (preferably based on attached .blend file)** - add a couple of keyframes to an object and switch to NLA - turn action into action strip (snowflake icon) - in the strip properties, enable 'Reversed' - go into edit/tweak mode for the strip then switch to f-curve editor - animation curves are drawn incorrectly [#35708-nla-reverse-display-issue.blend](https://archive.blender.org/developer/F9264180/T35708-nla-reverse-display-issue.blend) Normal: ![image.png](https://archive.blender.org/developer/F9264177/image.png) Reversed: ![image.png](https://archive.blender.org/developer/F9264174/image.png)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%Just to clarify, this is a longstanding issue with Blender. Not just with recent releases.%%%

%%%Just to clarify, this is a longstanding issue with Blender. Not just with recent releases.%%%
Member

%%%Checking the code, it looks like the potential for this sort of thing to happen is already known/marked as something to be fixed.

The cause of this is in tweak mode, keyframes get some mapping applied so that they appear in global time where the NLA strips will map them to be. However, in the case of reversed strips, this turns out to be quite problematic when drawing the graphs as the keyframes themselves are still stored/drawn in the normal forward order. Best/easiest solution would probably be to just ignore the reversing part when applying this mapping (though the disadvantage is that for consistency between graph and dopesheet, keyframes in dopesheet wouldn't get reversed either, even though it doesn't affect those, thus potentially making things a bit more confusing when trying to figure out which keyframes to retime there).

As a workaround, click the pin icon beside the action name (in the channel list) while in tweakmode to disable the time remapping of keyframes in tweakmode when dealing with such cases.%%%

%%%Checking the code, it looks like the potential for this sort of thing to happen is already known/marked as something to be fixed. The cause of this is in tweak mode, keyframes get some mapping applied so that they appear in global time where the NLA strips will map them to be. However, in the case of reversed strips, this turns out to be quite problematic when drawing the graphs as the keyframes themselves are still stored/drawn in the normal forward order. Best/easiest solution would probably be to just ignore the reversing part when applying this mapping (though the disadvantage is that for consistency between graph and dopesheet, keyframes in dopesheet wouldn't get reversed either, even though it doesn't affect those, thus potentially making things a bit more confusing when trying to figure out which keyframes to retime there). As a workaround, click the pin icon beside the action name (in the channel list) while in tweakmode to disable the time remapping of keyframes in tweakmode when dealing with such cases.%%%
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Checking the code, it looks like the potential for this sort of thing to happen is already known/marked as something to be fixed.

AKA: "This is a ToDo, not a bug"(tm) :P

This should have been a ToDo rather than a bug for 1.5 years...

> Checking the code, it looks like the potential for this sort of thing to happen is already known/marked as something to be fixed. AKA: "This is a ToDo, not a bug"(tm) :P This should have been a ToDo rather than a bug for 1.5 years...
Joshua Leung was unassigned by Sybren A. Stüvel 2020-11-09 18:37:26 +01:00

Added subscriber: @AdamJanz

Added subscriber: @AdamJanz

Just discovered this in 3.2 beta. Very bizarre behavior indeed. I thought the curves were actually broken, but it's nice to know it's just a display issue. Would be so great to have this addressed as it makes editing the curves of reversed NLA clips impossible. For now, I will have to manually mirror the keyframes in a new clip rather than using the "Reverse" option. Thanks to the devs for your continued improvement of Blender!

Just discovered this in 3.2 beta. Very bizarre behavior indeed. I thought the curves were actually broken, but it's nice to know it's just a display issue. Would be so great to have this addressed as it makes editing the curves of reversed NLA clips impossible. For now, I will have to manually mirror the keyframes in a new clip rather than using the "Reverse" option. Thanks to the devs for your continued improvement of Blender!
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:36:53 +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
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#35708
No description provided.