diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-17 16:23:21 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-22 15:55:50 +0300 |
commit | ff19b527e85ec5144efbd663bf9b4c338e179358 (patch) | |
tree | 397303e299a17352e48cad3fcc7757b2d68c4538 /source/blender/makesrna/intern/rna_space.c | |
parent | c7df6182631ffe22aea1357c2f356c30c0d40dc5 (diff) |
Workbench: Calculate irradiance using radiance buffers
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 8b440ad6f4a..3b9adad4957 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -224,7 +224,7 @@ static const EnumPropertyItem rna_enum_studio_light_items[] = { {29, "STUDIOLIGHT_29", 0, "", ""}, {0, NULL, 0, NULL, NULL} }; -#define NUM_STUDIO_LIGHT_ITEMS 30 +#define NUM_STUDIOLIGHT_ITEMS 30 const EnumPropertyItem rna_enum_clip_editor_mode_items[] = { {SC_MODE_TRACKING, "TRACKING", ICON_ANIM_DATA, "Tracking", "Show tracking and solving tools"}, @@ -738,7 +738,7 @@ static const EnumPropertyItem *rna_View3DShading_studio_light_itemf( int totitem = 0; LISTBASE_FOREACH(StudioLight *, sl, BKE_studiolight_listbase()) { - if (totitem < NUM_STUDIO_LIGHT_ITEMS) { + if (totitem < NUM_STUDIOLIGHT_ITEMS) { RNA_enum_items_add_value(&item, &totitem, rna_enum_studio_light_items, totitem); lastitem = &item[totitem - 1]; lastitem->value = sl->index; |