Fix missing dependency upgrade when changing image to/from sequence.
Since animation is now handled by the dependency graph.
This commit is contained in:
parent
c985c60bdc
commit
cfbcd7f0da
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue