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-01 02:18:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-01 02:56:46 +0300
commit5564601d45ccf1a20d4cdc4e2e30b2369c1daa8a (patch)
tree2c6a1b37960fe7a2f1161f0accd90089ca5adc9c /source/blender/blenkernel/intern/layer.c
parent83fc6103e5942fdfc0d60103c426da85d11341a5 (diff)
Cleanup: Use const for static number.
Also use double indent instead of mixed tab/spaces.
Diffstat (limited to 'source/blender/blenkernel/intern/layer.c')
-rw-r--r--source/blender/blenkernel/intern/layer.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c
index 2bbccec2cfe..ebea589d402 100644
--- a/source/blender/blenkernel/intern/layer.c
+++ b/source/blender/blenkernel/intern/layer.c
@@ -55,12 +55,13 @@
#include "MEM_guardedalloc.h"
/* Set of flags which are dependent on a collection settings. */
-static short g_base_collection_flags = (BASE_VISIBLE |
- BASE_SELECTABLE |
- BASE_ENABLED_VIEWPORT |
- BASE_ENABLED_RENDER |
- BASE_HOLDOUT |
- BASE_INDIRECT_ONLY);
+static const short g_base_collection_flags = (
+ BASE_VISIBLE |
+ BASE_SELECTABLE |
+ BASE_ENABLED_VIEWPORT |
+ BASE_ENABLED_RENDER |
+ BASE_HOLDOUT |
+ BASE_INDIRECT_ONLY);
/* prototype */
static void object_bases_iterator_next(BLI_Iterator *iter, const int flag);