From bdbf4471a6c4ba2d444eea5e7f0e6984b3aaafc2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 25 May 2017 15:11:00 +1000 Subject: TexFace removal part 3 - MTexPoly structure & layer type. - The 'Mesh.uv_textures' layers. - DerivedMesh TexFace drawing. - Scripts & UI. --- source/blender/modifiers/intern/MOD_ocean.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/modifiers/intern/MOD_ocean.c') diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index 1be603c7ab5..4a6b79b71b6 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -397,7 +397,6 @@ static DerivedMesh *generate_ocean_geometry(OceanModifierData *omd) /* add uvs */ if (CustomData_number_of_layers(&result->loopData, CD_MLOOPUV) < MAX_MTFACE) { gogd.mloopuvs = CustomData_add_layer(&result->loopData, CD_MLOOPUV, CD_CALLOC, NULL, num_polys * 4); - CustomData_add_layer(&result->polyData, CD_MTEXPOLY, CD_CALLOC, NULL, num_polys); if (gogd.mloopuvs) { /* unlikely to fail */ gogd.ix = 1.0 / gogd.rx; -- cgit v1.2.3