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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-08 17:49:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-08 17:49:25 +0300
commitd4370e2e0089be66f98210f6374031186dee4758 (patch)
tree5758a5a2339997a939e31ede698d69caaceeb292 /source/blender/makesrna/intern/rna_sculpt_paint.c
parent146b39a45d4ad1b36a977d19984797f984f161ec (diff)
Cleanup, compiler warnings in release mode
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index 841a5be1aff..d2ed6229b13 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -277,6 +277,7 @@ static bool rna_Brush_mode_poll(PointerRNA *ptr, PointerRNA value)
Brush *brush = value.id.data;
const uint tool_offset = paint->runtime.tool_offset;
const eObjectMode ob_mode = paint->runtime.ob_mode;
+ UNUSED_VARS_NDEBUG(tool_offset);
BLI_assert(tool_offset && ob_mode);
if (brush->ob_mode & ob_mode) {