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-03-27 09:14:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-27 09:14:36 +0300
commit8d7005d7152459eb66fa33ae14eba94a0169adbb (patch)
tree78a117f4c1256dda7ce1af72f3e5b04ecbb0c4cd /source/blender/bmesh/intern/bmesh_inline.h
parente26b67fa1e13b45c395878dfc667af0b4cc458cf (diff)
Cleanup: style, use braces for bmesh
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_inline.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_inline.h b/source/blender/bmesh/intern/bmesh_inline.h
index 39657f1c32e..549fc90fe40 100644
--- a/source/blender/bmesh/intern/bmesh_inline.h
+++ b/source/blender/bmesh/intern/bmesh_inline.h
@@ -58,8 +58,8 @@ BLI_INLINE void _bm_elem_flag_disable(BMHeader *head, const char hflag)
BLI_INLINE void _bm_elem_flag_set(BMHeader *head, const char hflag, const int val)
{
- if (val) _bm_elem_flag_enable(head, hflag);
- else _bm_elem_flag_disable(head, hflag);
+ if (val) { _bm_elem_flag_enable(head, hflag); }
+ else { _bm_elem_flag_disable(head, hflag); }
}
BLI_INLINE void _bm_elem_flag_toggle(BMHeader *head, const char hflag)