Merge branch 'master' into blender2.8
This commit is contained in:
@@ -1135,9 +1135,11 @@ static void surfacedeformModifier_do(ModifierData *md, float (*vertexCos)[3], un
|
||||
}
|
||||
|
||||
/* Actual vertex location update starts here */
|
||||
SDefDeformData data = {.bind_verts = smd->verts,
|
||||
.targetCos = MEM_mallocN(sizeof(float[3]) * tnumverts, "SDefTargetVertArray"),
|
||||
.vertexCos = vertexCos};
|
||||
SDefDeformData data = {
|
||||
.bind_verts = smd->verts,
|
||||
.targetCos = MEM_mallocN(sizeof(float[3]) * tnumverts, "SDefTargetVertArray"),
|
||||
.vertexCos = vertexCos,
|
||||
};
|
||||
|
||||
if (data.targetCos != NULL) {
|
||||
bool tdm_vert_alloc;
|
||||
|
||||
Reference in New Issue
Block a user