[Bf-blender-cvs] [cb42ad8c759] blender2.8: Fix compilation error after recent matcap changes
Sergey Sharybin
noreply at git.blender.org
Tue Jun 5 12:02:27 CEST 2018
Commit: cb42ad8c7595c8f5c157302c220e6107f07b847c
Author: Sergey Sharybin
Date: Tue Jun 5 12:02:08 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBcb42ad8c7595c8f5c157302c220e6107f07b847c
Fix compilation error after recent matcap changes
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
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),
More information about the Bf-blender-cvs
mailing list