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-06-05 13:02:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-06-05 13:02:08 +0300
commitcb42ad8c7595c8f5c157302c220e6107f07b847c (patch)
treed4c38bb36cbec9d8271c608119c578cac49f3309
parentcd8613c6e7f04a822824742a3c0e21b017955053 (diff)
Fix compilation error after recent matcap changes
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 0f417c471e7..150bff1d254 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -200,7 +200,7 @@ const EnumPropertyItem rna_enum_viewport_lighting_items[] = {
{0, NULL, 0, NULL, NULL}
};
-#define DEF_SINGLE_STUDIO_LIGHT_ITEM(value) {value, "STUDIOLIGHT_%%value%%", 0, "", ""}
+#define DEF_SINGLE_STUDIO_LIGHT_ITEM(value) {value, "STUDIOLIGHT_" #value, 0, "", ""}
static const EnumPropertyItem rna_enum_studio_light_items[] = {
DEF_SINGLE_STUDIO_LIGHT_ITEM(0),
DEF_SINGLE_STUDIO_LIGHT_ITEM(1),