diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_texture.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_texture.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c index be6defa11d7..2c68661f3bd 100644 --- a/source/blender/makesrna/intern/rna_texture.c +++ b/source/blender/makesrna/intern/rna_texture.c @@ -51,13 +51,15 @@ #include "WM_api.h" #include "WM_types.h" -EnumPropertyItem texture_filter_items[] = { +#ifndef RNA_RUNTIME +static EnumPropertyItem texture_filter_items[] = { {TXF_BOX, "BOX", 0, "Box", ""}, {TXF_EWA, "EWA", 0, "EWA", ""}, {TXF_FELINE, "FELINE", 0, "FELINE", ""}, {TXF_AREA, "AREA", 0, "Area", ""}, {0, NULL, 0, NULL, NULL} }; +#endif EnumPropertyItem texture_type_items[] = { {0, "NONE", 0, "None", ""}, @@ -82,7 +84,8 @@ EnumPropertyItem texture_type_items[] = { {0, NULL, 0, NULL, NULL} }; -EnumPropertyItem blend_type_items[] = { +#ifndef RNA_RUNTIME +static EnumPropertyItem blend_type_items[] = { {MTEX_BLEND, "MIX", 0, "Mix", ""}, {MTEX_ADD, "ADD", 0, "Add", ""}, {MTEX_SUB, "SUBTRACT", 0, "Subtract", ""}, @@ -101,6 +104,7 @@ EnumPropertyItem blend_type_items[] = { {MTEX_LIN_LIGHT, "LINEAR_LIGHT", 0, "Linear Light", ""}, {0, NULL, 0, NULL, NULL} }; +#endif #ifdef RNA_RUNTIME |