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>2012-03-06 16:51:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-06 16:51:17 +0400
commit3882f7cde740ee0fd74b0da3ef7f6044d894df71 (patch)
treec82afd5d7a0cb445152bdab0b01761bdfb9d1bc9 /source/blender/bmesh/operators/bmo_mesh_conv.c
parent91c2aa7b95a7681ec839c5f8fd91a89980bab99f (diff)
quiet some warnings and fix build error with strict casting rules.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_mesh_conv.c')
-rw-r--r--source/blender/bmesh/operators/bmo_mesh_conv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_mesh_conv.c b/source/blender/bmesh/operators/bmo_mesh_conv.c
index 63d8e3b65c3..ac8f7fc33ec 100644
--- a/source/blender/bmesh/operators/bmo_mesh_conv.c
+++ b/source/blender/bmesh/operators/bmo_mesh_conv.c
@@ -151,7 +151,9 @@ void bmo_mesh_to_bmesh_exec(BMesh *bm, BMOperator *op)
v->head.hflag = BM_vert_flag_from_mflag(mvert->flag);
/* this is necessary for selection counts to work properl */
- if (BM_elem_flag_test(v, BM_ELEM_SELECT)) BM_vert_select_set(bm, v, TRUE);
+ if (BM_elem_flag_test(v, BM_ELEM_SELECT)) {
+ BM_vert_select_set(bm, v, TRUE);
+ }
normal_short_to_float_v3(v->no, mvert->no);