diff options
Diffstat (limited to 'source/blender/editors/interface/interface_icons.c')
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index d8bdeaa8159..36624f475ce 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -1842,12 +1842,12 @@ int UI_rnaptr_icon_get(bContext *C, PointerRNA *ptr, int rnaicon, const bool big else if (RNA_struct_is_a(ptr->type, &RNA_StudioLight)) { StudioLight *sl = ptr->data; switch (sl->flag & STUDIOLIGHT_FLAG_ORIENTATIONS) { - case STUDIOLIGHT_ORIENTATION_CAMERA: + case STUDIOLIGHT_TYPE_STUDIO: return sl->icon_id_irradiance; - case STUDIOLIGHT_ORIENTATION_WORLD: + case STUDIOLIGHT_TYPE_WORLD: default: return sl->icon_id_radiance; - case STUDIOLIGHT_ORIENTATION_VIEWNORMAL: + case STUDIOLIGHT_TYPE_MATCAP: return sl->icon_id_matcap; } } |