Undo re-orders dope sheet items which have cyclic dependencies #38491

Closed
opened 2014-02-05 00:44:06 +01:00 by cmto · 8 comments

System Information
Win 7 x64, 560ti 1GB

Blender Version
Broken: 2.69.x
Worked: (Not sure it ever did)

If two items have a cyclic dependency with one another and you are undoing any keyframe changes on the dope sheet, the cyclic dependent items swap places with each other on the dope sheet list.

Exact steps for others to reproduce the error
cubes1.blend
Right click the keyframe on frame 0 of the Cone object, Shift+D then drag over a couple of frames and place the duplicated keyframe. Then undo the change and you will notice the two Cube objects swap places on the dope sheet. Note the cone is not constrained by/to anything, but the cubes are 'child-of' each other.

cubes.png

PS. I'm aware the cyclic dependency in my example is one that you would never actually use, but even the unproblematic 'acceptable' cyclic dependencies cause this issue.

**System Information** Win 7 x64, 560ti 1GB **Blender Version** Broken: 2.69.x Worked: (Not sure it ever did) If two items have a cyclic dependency with one another and you are undoing any keyframe changes on the dope sheet, the cyclic dependent items swap places with each other on the dope sheet list. **Exact steps for others to reproduce the error** [cubes1.blend](https://archive.blender.org/developer/F76040/cubes1.blend) Right click the keyframe on frame 0 of the Cone object, Shift+D then drag over a couple of frames and place the duplicated keyframe. Then undo the change and you will notice the two Cube objects swap places on the dope sheet. Note the cone is not constrained by/to anything, but the cubes are 'child-of' each other. ![cubes.png](https://archive.blender.org/developer/F76035/cubes.png) PS. I'm aware the cyclic dependency in my example is one that you would never actually use, but even the unproblematic 'acceptable' cyclic dependencies cause this issue.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @CHARLES-MURRAY

Added subscriber: @CHARLES-MURRAY
Joshua Leung was assigned by Sergey Sharybin 2014-02-06 08:58:45 +01:00

Added subscribers: @JoshuaLeung, @Sergey

Added subscribers: @JoshuaLeung, @Sergey

@JoshuaLeung, seems dopesheet displays channels in order of how the bmain is sorted, is it expected behavior? This way any change which affects on dopesheet could reshuffle channels.. Does it make sense to sort channels alphabetically?

@JoshuaLeung, seems dopesheet displays channels in order of how the bmain is sorted, is it expected behavior? This way any change which affects on dopesheet could reshuffle channels.. Does it make sense to sort channels alphabetically?
Member

In short: This is one of those "won't fix" in the short-medium term things.

From a usability perspective, yes it's not that great. However, this is an expected downside to the way it is currently intended to work. Without implementing some kind of cache (shudders) for listing out all the ID blocks in the scene in the order that they need to appear here, there's not much we can do about this in the short term. Completing the depsgraph refactor will likely give us an opportunity to improve stuff a bit here, since we won't need to be sorting bases in the scene by dependency order, so things will hopefully become more stable (and/or may be likely to be able to return to alphabetical ordering or at least user-defined order).

In short: This is one of those "won't fix" in the short-medium term things. From a usability perspective, yes it's not that great. However, this is an expected downside to the way it is currently intended to work. Without implementing some kind of cache (*shudders*) for listing out all the ID blocks in the scene in the order that they need to appear here, there's not much we can do about this in the short term. Completing the depsgraph refactor will likely give us an opportunity to improve stuff a bit here, since we won't need to be sorting bases in the scene by dependency order, so things will hopefully become more stable (and/or may be likely to be able to return to alphabetical ordering or at least user-defined order).

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @mont29

Added subscriber: @mont29

Thanks for the report, but no point in keeping it open forever. Added a note in our TODO list.

Thanks for the report, but no point in keeping it open forever. Added a note in our [TODO list](http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Animation_System).
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#38491
No description provided.