Drawing of pose markers does not take NLA time mapping into account #97323

Open
opened 2022-04-14 11:19:47 +02:00 by Sybren A. Stüvel · 13 comments

System Information
Operating system: Linux-5.11.0-49-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.91.03

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, hash: d6e7241237
Worked: don't think it ever workerd

Short description of error
Shifting an Action on the NLA, then going into tweak mode to edit it, shows the keyframes shifted in the animation editors. The action's pose markers are still in their absolute position.

image.png

The pose markers should align with the 2nd, 3rd, and 4th keyframe.

Exact steps for others to reproduce the error

  • Open the attached file, look at the pose markers.
  • Drag the action in the NLA editor, and see the keys moving while the pose markers stay put.

[D14176-select-markers.blend](https://archive.blender.org/developer/F13001132/D14176-select-markers.blend)

Context & Relevance

These "pose" markers originated from the old, now obsolete, pose library. However, regardless of the status of that library, I've heard the desire to have Action-scoped markers (so independent of scene time), and the pose markers would fit that need quite well. The only thing that has to be done to make this a reality is a rename (from "pose marker" to "action marker") and some UI cleanup. Fixing this bug is a good start.

Marked as low-prio because the new purpose for pose markers isn't that official yet.

Note: Be sure to test the marker.select_leftright operator as well (f1ae6952a8) after addressing this issue.

**System Information** Operating system: Linux-5.11.0-49-generic-x86_64-with-glibc2.33 64 Bits Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.91.03 **Blender Version** Broken: version: 3.2.0 Alpha, branch: `master`, hash: `d6e7241237` Worked: don't think it ever workerd **Short description of error** Shifting an Action on the NLA, then going into tweak mode to edit it, shows the keyframes shifted in the animation editors. The action's pose markers are still in their absolute position. ![image.png](https://archive.blender.org/developer/F13001129/image.png) The pose markers should align with the 2nd, 3rd, and 4th keyframe. **Exact steps for others to reproduce the error** - Open the attached file, look at the pose markers. - Drag the action in the NLA editor, and see the keys moving while the pose markers stay put. [[D14176](https://archive.blender.org/developer/D14176)-select-markers.blend](https://archive.blender.org/developer/F13001132/D14176-select-markers.blend) **Context & Relevance** These "pose" markers originated from the old, now obsolete, pose library. However, regardless of the status of that library, I've heard the desire to have Action-scoped markers (so independent of scene time), and the pose markers would fit that need quite well. The only thing that has to be done to make this a reality is a rename (from "pose marker" to "action marker") and some UI cleanup. Fixing this bug is a good start. Marked as low-prio because the new purpose for pose markers isn't that official yet. **Note:** Be sure to test the `marker.select_leftright` operator as well (f1ae6952a8) after addressing this issue.
Author
Member

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Member

Added subscriber: @nrupsis

Added subscriber: @nrupsis
Nate Rupsis self-assigned this 2022-04-14 19:30:03 +02:00
Member

Been wanting to get into Blender development. Looks like a good first issue 😄

Been wanting to get into Blender development. Looks like a good first issue 😄
Member

Added subscriber: @BClark

Added subscriber: @BClark
Member

Thank you Nate.

Thank you Nate.

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

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

Added subscriber: @cmbasnett

Added subscriber: @cmbasnett
Member

Alright, I've spent some significant time trying to make heads and tails of this, certainly learned a lot 😃

However, I do need some domain context clarification. For the keyframes inside of the Action strip (NLA Track), those are dependent on the Strips contexts, however, the pose marks (as far as I understand) are not.

Do we just want the pose markers to line up with the key frames on draw? (i.e, entering tweak mode), or do we actually want to add them the the dependency graph for this context?

Alright, I've spent some significant time trying to make heads and tails of this, certainly learned a lot 😃 However, I do need some domain context clarification. For the keyframes inside of the Action strip (NLA Track), those are dependent on the Strips contexts, however, the pose marks (as far as I understand) are not. Do we just want the pose markers to line up with the key frames on draw? (i.e, entering tweak mode), or do we actually want to add them the the dependency graph for this context?

Added subscriber: @ezragoss

Added subscriber: @ezragoss
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Do we just want the pose markers to line up with the key frames on draw? (i.e, entering tweak mode), or do we actually want to add them the the dependency graph for this context?

@dr.sybren ^

> Do we just want the pose markers to line up with the key frames on draw? (i.e, entering tweak mode), or do we actually want to add them the the dependency graph for this context? @dr.sybren ^
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:08 +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
7 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#97323
No description provided.