Sculpt: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24257...
[blender.git] / source / blender / blenkernel / intern / modifier.c
index 3c52dc0af84a63ff792b81f65562b569f41a137f..1193e8247bed014484ce2b1d657e8924517472b1 100644 (file)
@@ -5696,7 +5696,7 @@ static void hookModifier_deformVerts(
                                /* if DerivedMesh is present and has original index data,
                                * use it
                                */
-                               if(dm && dm->getVertData(dm, 0, CD_ORIGINDEX)) {
+                               if(dm && dm->getVertDataArray(dm, CD_ORIGINDEX)) {
                                        int j;
                                        int orig_index;
                                        for(j = 0; j < numVerts; ++j) {