diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-20 15:52:10 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-02-20 15:53:32 +0300 |
commit | cfbcd7f0da1f415c224ca4827e213f2d2c7ba624 (patch) | |
tree | c2867bdd473efe560cdca2f138586d477c6039d2 /source | |
parent | c985c60bdc7cfc6914d583cf5179a03aaa68b302 (diff) |
Fix missing dependency upgrade when changing image to/from sequence.
Since animation is now handled by the dependency graph.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index e42c154d865..61c671666c2 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -29,6 +29,7 @@ #include "BKE_image.h" #include "DEG_depsgraph.h" +#include "DEG_depsgraph_build.h" #include "RNA_access.h" #include "RNA_define.h" @@ -94,6 +95,7 @@ static void rna_Image_source_set(PointerRNA *ptr, int value) BKE_image_signal(G_MAIN, ima, NULL, IMA_SIGNAL_SRC_CHANGE); DEG_id_tag_update(&ima->id, 0); DEG_id_tag_update(&ima->id, ID_RECALC_EDITORS); + DEG_relations_tag_update(G_MAIN); } } |