diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-01 18:46:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-02 18:09:44 +0300 |
commit | c7e0bb0b901e264cc5b9a505daf47ab8b6da9142 (patch) | |
tree | d3dfdf78acd728241a0aeadf4fe0c934748ee9e6 /source/blender/depsgraph/intern/eval | |
parent | 98461aa5dc611a24f5c91fe1f21942f5932037db (diff) |
Depsgraph: Make bAction a part of dependency graph
There are various values which depends on context in there, for example
current driver value and original DNA value f-curve is applied for.
This partially fixes issue with not being able to tweak keyed values
when material preview is open.
The material preview is not being currently updated against non-keyed
changes since every tweak of material property does full preview scene
depsgraph evaluation.
Diffstat (limited to 'source/blender/depsgraph/intern/eval')
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc index cb03c0dc92c..c149218a204 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc @@ -45,6 +45,7 @@ #include <cstring> #include "BLI_utildefines.h" +#include "BLI_listbase.h" #include "BLI_threads.h" #include "BLI_string.h" @@ -61,6 +62,7 @@ extern "C" { #include "DNA_ID.h" +#include "DNA_anim_types.h" #include "DNA_mesh_types.h" #include "DNA_scene_types.h" #include "DNA_object_types.h" @@ -329,7 +331,6 @@ static bool check_datablocks_copy_on_writable(const ID *id_orig) } return !ELEM(id_type, ID_BR, ID_LS, - ID_AC, ID_PAL); } |