Fix #31393: Shape Keys on curves with hooks

Own mistake when was fixing #30561 - handles ARE included in shape keys
This commit is contained in:
Sergey Sharybin 2012-05-10 15:28:35 +00:00
parent ffe7d668ff
commit 582aef8162

@ -783,7 +783,7 @@ static void curve_calc_modifiers_pre(Scene *scene, Object *ob, int forRender, fl
* shape key modifier yet. */
deformedVerts = BKE_curve_keyVertexCos_get(cu, nurb, keyVerts);
originalVerts = MEM_dupallocN(deformedVerts);
numVerts = BKE_nurbList_verts_count_without_handles(nurb);
numVerts = BKE_nurbList_verts_count(nurb);
}
}