Animated mesh UVs, vertex groups, vertex colors don’t update on time change #68666
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#68666
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 18.10
Graphics card: Nvidia GeForce GTX 660M
Blender Version
Broken: 2.81 (
5489611e53
)Worked: 2.79
After adding keyframes to a mesh object data, mesh UVs, vertex groups and vertex colors don’t get updated when changing the time.
Exact steps for others to reproduce the error
AnimAll_test-01.blend
Test file and bug as originally reported by @RomboutVersluijs in blender/blender-addons#68332.
Added subscribers: @RomboutVersluijs, @pioverfour
Added subscriber: @lichtwerk
Confirmed, will check on this...
Started looking into this.
Some first notes:
This is what we get on frame change:
If one has a look at
DepsgraphNodeBuilder::build_animdata
it can be observed that:adt->action
BKE_animsys_eval_animdata
is correctly evaluated for the mesh later on framechange, BUTadt->action
thus noBKE_animsys_eval_animdata
on the object IDBKE_object_eval_uber_data
/BKE_object_handle_data_update
are responsible for correct updates) ORBKE_mesh_eval_geometry
from the mesh IDAlso
BKE_mesh_eval_geometry
is bound inDepsgraphNodeBuilder::build_object_data_geometry_datablock
for the UV mesh, but not called on framechange...Stay tuned...
Thank you for looking into it.
I forgot to mention that the same lack of update also happens with lattice points’ locations. The issue with the lattices can’t be demonstrated with a blend file though, because the workaround found by Rombout Versluijs can’t apply since even the location isn’t updated.
I don’t know if I should open a new bug report for this, as it seems related.
To test lattice points, you may use the animation_animall add-on to insert keys on lattice points.
Added subscriber: @Sergey
Also note that even if this works with image textures in the file provided, there is still an issue with procedural textures... [these dont update as well]
I'm afraid I wont have time to really look into this further (concentrating on housekeeping/triaging/tagging reports [not that much fixing...sniff] in the tracker for the time being), so I will step down for now to not block progress on this [imho important] issue.
Maybe @Sergey can have a look?
I will also point to the following blender/blender-addons#68332#763573, since there is more information of what is failing at the current state of affairs...
The AnimAll workaround probably caused #69509, so I still think this is a High priority...
@Sergey : I have added this to 2.81 milestone (since it was set to "High"), mind checking?
quick note: works as soon as you insert a "regular" keyframe on the mesh datablock [e.g. a keyframe on
mesh.texspace_location- [x]
or something totally unrelated asmesh.use_customdata_vertex_bevel
]UVs and vertex colors should now be fixed.
But in order to fix the vertex groups case I need to have a demo file.
That enough?
T68666_vgroups.blend
Hi @Sergey, thank you.
UVs appear fixed, but I’m not sure about the vertex colors. In the test file below, one vertex of the mesh labeled V-Cols is supposed to go from blue to white on playback.
The one labeled V-groups has one vertex shift to the right with a Displace modifier.
The lattice Points are also animated.
animall_test_scene.blend
This seems to do it
P1110: #68666 vgroups and vcol fix
Thanks a whole lot for taking care @Sergey, was looking at it again today a bit (but had my eyes in the wrong corners...), great this is back!
updated paste with vcol fix...
@lichtwerk, looks correct. Mind adding
RNA_LatticePoint
to the same exceptions and commit?This issue was referenced by
08b0c08577
Changed status from 'Open' to: 'Resolved'