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>2018-05-04 09:51:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-04 09:51:04 +0300
commit14883a0945d486cbc8794e8493664d3c202beab2 (patch)
treec162f2cd8cbcc67355dd3a75877528c82b651c66 /source/blender/modifiers/intern/MOD_wireframe.c
parent29fc9275c7e0379c9cb37e80c0c0226ded1467f3 (diff)
Cleanup: avoid local definitions for one-off args
Diffstat (limited to 'source/blender/modifiers/intern/MOD_wireframe.c')
-rw-r--r--source/blender/modifiers/intern/MOD_wireframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_wireframe.c b/source/blender/modifiers/intern/MOD_wireframe.c
index b2fe592cb37..3c6717d3b36 100644
--- a/source/blender/modifiers/intern/MOD_wireframe.c
+++ b/source/blender/modifiers/intern/MOD_wireframe.c
@@ -80,7 +80,7 @@ static Mesh *WireframeModifier_do(WireframeModifierData *wmd, Object *ob, Mesh *
bm = BKE_mesh_to_bmesh_ex(
mesh,
- &((struct BMeshCreateParams){0}),
+ &(struct BMeshCreateParams){0},
&(struct BMeshFromMeshParams){
.calc_face_normal = true,
.add_key_index = false,
@@ -103,7 +103,7 @@ static Mesh *WireframeModifier_do(WireframeModifierData *wmd, Object *ob, Mesh *
MAX2(ob->totcol - 1, 0),
false);
- result = BKE_bmesh_to_mesh(bm, (&(struct BMeshToMeshParams){0}));
+ result = BKE_bmesh_to_mesh(bm, &(struct BMeshToMeshParams){0});
BM_mesh_free(bm);
result->runtime.cd_dirty_vert |= CD_MASK_NORMAL;