diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-19 04:37:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-19 06:52:48 +0300 |
commit | 3f43f57731a76046749b02c458234d25130e8221 (patch) | |
tree | 2aad54ec6964be6517e88b50c66fdfaecd11f6e0 /source/blender/makesrna/intern/rna_brush.c | |
parent | 33a4a6dd66bc3c868c68d3c484b878224e0dbab8 (diff) |
Cleanup: warnings
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_brush.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c index fa48cf2f399..f48a7e6715d 100644 --- a/source/blender/makesrna/intern/rna_brush.c +++ b/source/blender/makesrna/intern/rna_brush.c @@ -45,6 +45,7 @@ static const EnumPropertyItem prop_direction_items[] = { {0, NULL, 0, NULL, NULL}, }; +#ifdef RNA_RUNTIME static const EnumPropertyItem prop_smooth_direction_items[] = { {0, "SMOOTH", ICON_ADD, "Smooth", "Smooth the surfae"}, {BRUSH_DIR_IN, @@ -54,6 +55,7 @@ static const EnumPropertyItem prop_smooth_direction_items[] = { "Enhance the surface detail"}, {0, NULL, 0, NULL, NULL}, }; +#endif static const EnumPropertyItem sculpt_stroke_method_items[] = { {0, "DOTS", 0, "Dots", "Apply paint on each mouse move step"}, |