diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-30 15:02:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-30 15:02:28 +0300 |
commit | 292125bfd35942ff12b1fe8e997e0417175e9947 (patch) | |
tree | 8df192e840060c6fd61bbea76e5e6c405448d6b5 /source/blender/modifiers | |
parent | 9c2db1455f396e0330f81108e1aeca9b7a2d59d0 (diff) |
Fix broken meshdeform modifier after recent cleanup.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_meshdeform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshdeform.c b/source/blender/modifiers/intern/MOD_meshdeform.c index e9e8c974413..0cd73d0ca16 100644 --- a/source/blender/modifiers/intern/MOD_meshdeform.c +++ b/source/blender/modifiers/intern/MOD_meshdeform.c @@ -303,7 +303,7 @@ static void meshdeformModifier_do( * * We'll support this case once granular dependency graph is landed. */ - cagemesh = BKE_modifier_get_evaluated_mesh_from_evaluated_object(ob, &free_cagemesh); + cagemesh = BKE_modifier_get_evaluated_mesh_from_evaluated_object(mmd->object, &free_cagemesh); if (cagemesh == NULL) { modifier_setError(md, "Cannot get mesh from cage object"); |