diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-01-02 18:45:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-01-02 18:47:39 +0300 |
commit | 2e06a6bec3f5ed078a544dea9c4f842e403abbc0 (patch) | |
tree | 35b8a80219104cb4234c0d84c7f4752ad8a51a04 /source/blender/depsgraph/intern/builder/deg_builder.h | |
parent | 461261c18dbf7d1ab52427b362752d25362311d6 (diff) |
Fix T72820: Linked objects jumping around during render
Was caused by 6183688c3560 (thanks ronsn for nailing it down!).
The issue is that order of copy-on-write operations is not defined, so
can not use flags set by that operation to make decision.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder.h b/source/blender/depsgraph/intern/builder/deg_builder.h index 97e12e9ceb2..2db861b6fca 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder.h +++ b/source/blender/depsgraph/intern/builder/deg_builder.h @@ -24,6 +24,7 @@ #pragma once struct Base; +struct ID; struct Main; struct Object; struct bPoseChannel; @@ -53,6 +54,7 @@ class DepsgraphBuilder { DepsgraphBuilderCache *cache_; }; +bool deg_check_id_in_depsgraph(const Depsgraph *graph, ID *id_orig); bool deg_check_base_in_depsgraph(const Depsgraph *graph, Base *base); void deg_graph_build_finalize(Main *bmain, Depsgraph *graph); |