Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-05-28 11:46:04 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-05-28 11:47:01 +0300
commit1335f2d27221bed10a5ab74a06fdc96e6a8e4bb9 (patch)
treeadd520f8111c85699d9b5555930d32d4918ff033
parent806db47fd8dfc228467694f10743a4404796dce0 (diff)
Fix T65889: Hair Particles not updating when using image sequence
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index db8d9ed516a..c98aab51654 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -2428,6 +2428,11 @@ void DepsgraphRelationBuilder::build_texture(Tex *texture)
ComponentKey animation_key(&texture->id, NodeType::ANIMATION);
add_relation(animation_key, texture_key, "Datablock Animation");
}
+
+ if (BKE_image_user_id_has_animation(&texture->id)) {
+ ComponentKey image_animation_key(&texture->id, NodeType::IMAGE_ANIMATION);
+ add_relation(image_animation_key, texture_key, "Datablock Image Animation");
+ }
}
void DepsgraphRelationBuilder::build_image(Image *image)