From 03e0f28ea054923d1bb682ad8cd6ee931caea89f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2011 11:48:35 +0000 Subject: [PATCH] bugfix [#25528] lack of update and crash using hook modifier. --- source/blender/modifiers/intern/MOD_hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/modifiers/intern/MOD_hook.c b/source/blender/modifiers/intern/MOD_hook.c index e29b4b456ae..9c855e4c96c 100644 --- a/source/blender/modifiers/intern/MOD_hook.c +++ b/source/blender/modifiers/intern/MOD_hook.c @@ -268,7 +268,7 @@ static void deformVertsEM( if(!derivedData) dm = CDDM_from_editmesh(editData, ob->data); - deformVerts(md, ob, derivedData, vertexCos, numVerts, 0, 0); + deformVerts(md, ob, dm, vertexCos, numVerts, 0, 0); if(!derivedData) dm->release(dm); }