Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-06 16:06:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-06 16:34:48 +0300
commite305560f13c3c67b048dc3889c7797eae2e345c4 (patch)
treeb3593db52da67e738fbfe592507a517b9ec35f53 /source/blender/modifiers/intern/MOD_uvwarp.c
parentf10a88ae8d22cbf570956fd18ff60ef8e84fdd85 (diff)
Cleanup: add trailing commas to structs
Needed for clang formatting to workaround bug/limit, see: T53211
Diffstat (limited to 'source/blender/modifiers/intern/MOD_uvwarp.c')
-rw-r--r--source/blender/modifiers/intern/MOD_uvwarp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c
index c051f51facc..5ba92326797 100644
--- a/source/blender/modifiers/intern/MOD_uvwarp.c
+++ b/source/blender/modifiers/intern/MOD_uvwarp.c
@@ -202,9 +202,11 @@ static Mesh *applyModifier(
mloopuv = CustomData_duplicate_referenced_layer_named(&mesh->ldata, CD_MLOOPUV, uvname, numLoops);
MOD_get_vgroup(ctx->object, mesh, umd->vgroup_name, &dvert, &defgrp_index);
- UVWarpData data = {.mpoly = mpoly, .mloop = mloop, .mloopuv = mloopuv,
- .dvert = dvert, .defgrp_index = defgrp_index,
- .warp_mat = warp_mat, .axis_u = axis_u, .axis_v = axis_v};
+ UVWarpData data = {
+ .mpoly = mpoly, .mloop = mloop, .mloopuv = mloopuv,
+ .dvert = dvert, .defgrp_index = defgrp_index,
+ .warp_mat = warp_mat, .axis_u = axis_u, .axis_v = axis_v,
+ };
ParallelRangeSettings settings;
BLI_parallel_range_settings_defaults(&settings);
settings.use_threading = (numPolys > 1000);