migrating mesh level animation_data to object level and updating corresponding data_path fails to apply separately to linked duplicates #23546

Closed
opened 2010-08-27 18:11:25 +02:00 by Josh Wedlake · 4 comments

%%%The attached file contains two linked duplicate mushroom objects which share the same mesh data. The object datablocks have unique (not shared) animation_data which has been converted to nla strips (for ease of demonstration of the bug) attached to them which refers to the data_path 'data.shape_keys.keys["s1"].value'.

As I understand from Aligorith this should allow the shape key values (which are stored inside the mesh datablock rather than the object datablock) to be animated separately on a per object basis without the need to duplicate the mesh.

It seems what is actually happening is that blender is evaluating each object in turn, evaluating the animation_data but applying its effect to the mesh datablock so the two mushrooms in the file both show the same state (ie the last evaluated) rather than different states.

To see the bug in action:

  1. scrub the timeline in the attached blend and note that the two mushrooms animate in the same way.

  2. delete the larger of the two NLA strips and scrub the timeline - note that both mushrooms still animate identically but no with a different action (that of the remaining NLA strip)
    %%%

%%%The attached file contains two linked duplicate mushroom objects which share the same mesh data. The object datablocks have unique (not shared) animation_data which has been converted to nla strips (for ease of demonstration of the bug) attached to them which refers to the data_path 'data.shape_keys.keys["s1"].value'. As I understand from Aligorith this should allow the shape key values (which are stored inside the mesh datablock rather than the object datablock) to be animated separately on a per object basis without the need to duplicate the mesh. It seems what is actually happening is that blender is evaluating each object in turn, evaluating the animation_data but applying its effect to the mesh datablock so the two mushrooms in the file both show the same state (ie the last evaluated) rather than different states. To see the bug in action: 1. scrub the timeline in the attached blend and note that the two mushrooms animate in the same way. 2. delete the larger of the two NLA strips and scrub the timeline - note that both mushrooms still animate identically but no with a different action (that of the remaining NLA strip) %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%sorry try this attachment...

in my attempt to make the bug easier to understand I managed to break the setup in the file, ironically because of another bug which I've just reported!%%%

%%%sorry try this attachment... in my attempt to make the bug easier to understand I managed to break the setup in the file, ironically because of another bug which I've just reported!%%%

%%%This is not going to work, if the data paths refer to the same mesh, only the last evaluated animation will be applied. This can't be expected to work at the moment.%%%

%%%This is not going to work, if the data paths refer to the same mesh, only the last evaluated animation will be applied. This can't be expected to work at the moment.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
2 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#23546
No description provided.