diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-15 16:08:34 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-15 16:08:34 +0300 |
commit | 0efdb860f195edc5899d4698f62d21dc0599ab83 (patch) | |
tree | 42ac63d68b9218dd5479698b7367330fe8e08dc6 /source/blender/modifiers | |
parent | dbbd12d76006a3032fd22ec90e3fefc95bf984ac (diff) |
Bugfix #22982
Displace modifier: mapping "Global" didn't set a dependency entry.
Fix provided by the reporter himself, thanks Jacob F!
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_displace.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c index ce41f6dfc1d..f6e5b9c119a 100644 --- a/source/blender/modifiers/intern/MOD_displace.c +++ b/source/blender/modifiers/intern/MOD_displace.c @@ -148,6 +148,12 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, dag_add_relation(forest, curNode, obNode, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Displace Modifier"); } + + + if(dmd->texmapping == MOD_DISP_MAP_GLOBAL) + dag_add_relation(forest, obNode, obNode, + DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Displace Modifier"); + } static void get_texture_coords(DisplaceModifierData *dmd, Object *ob, |