Animation driver takes data from previous frame #72899
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#72899
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?
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.48
Broken: version:
2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash:
f1aa4d18d4
, type: Release2.82 (sub 6), branch: master, commit date: 2020-01-03 10:02, hash:
9b74e648c5
Animation driver takes data from previous frame instead current. For example on scene is square. X-scale is animated to shrink from 1 to 0. Y-scale has simple driver, to copy animation form x-scale. When play animation or render movie, x- and y-scale aren't the same. Square become rectangle, because y-scale is taken for previous frame.
bug_driver_data_from_previous_frame_01.blend
[Sometimes during rendering animation driver doesn't work at all and property isn't animated, but I can't repeat this issue.]
Added subscriber: @piotr-14
Added subscribers: @Sergey, @dr.sybren, @lichtwerk
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
I think this is a dependency cycle behind the scenes (even though this is not reported properly?)
The driver in
bug_driver_data_from_previous_frame_01.blend
is set up as Driver variable typeTransform Channel
If I do the same thing with a Driver variable type
Single Property
I get a dependency cycle reported:bug_driver_data_from_previous_frame_01_single_property.blend
So, as a workaround, it might be better to set this up via a dummy object [which has the action and then drives both channels of the square], like so:
bug_driver_data_from_previous_frame_01_single_property_corrected.blend
And this might not be a bug in the end, however, @Sergey, @dr.sybren: shouldnt the driver set up via
Transform Channel
report a dependency cycle (just like doing it viaSingle Property
does?)The dependency cycle is not reported on purpose actually: while animated property can not currently control driver, rigs were using a lot of non-animated properties properties as a driver variable. For example, using non-animated X-value of a transform is fine to drive Y of scale.
This behavior is used a lot by rigs here and in other studios, and printing dependency cycle would spam terminal to a degree that you wouldn't be able to find real issues.
Think real solution would be to support such setups, but this is already reported as #64793.
Closed as duplicate of #64793