bugfix [#25528] lack of update and crash using hook modifier.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 7 Jan 2011 11:48:35 +0000 (11:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 7 Jan 2011 11:48:35 +0000 (11:48 +0000)
source/blender/modifiers/intern/MOD_hook.c

index e29b4b456ae3229bd8c467997df5cf7e3a0a2669..9c855e4c96c36280c3748172765d9a6d08d142dd 100644 (file)
@@ -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);
 }