projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix T58679: Missing modifiers update on changes to texture
[blender.git]
/
source
/
blender
/
modifiers
/
intern
/
MOD_displace.c
diff --git
a/source/blender/modifiers/intern/MOD_displace.c
b/source/blender/modifiers/intern/MOD_displace.c
index a477191357eedc5ab4dc9a1ee0518a03ad1263bf..1da1897bfceffacf528d9bcc611184da34e728c0 100644
(file)
--- a/
source/blender/modifiers/intern/MOD_displace.c
+++ b/
source/blender/modifiers/intern/MOD_displace.c
@@
-157,6
+157,9
@@
static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
{
DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Displace Modifier");
}
+ if (dmd->texture != NULL) {
+ DEG_add_generic_id_relation(ctx->node, &dmd->texture->id, "Displace Modifier");
+ }
}
typedef struct DisplaceUserdata {