diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-17 01:45:56 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-17 01:45:56 +0300 |
commit | dc3b3d945386b3651bb0fb4413753297f044e535 (patch) | |
tree | d6e62b44b8fe37bfbee527a0328b89e06bec4b2d | |
parent | d5f048f8830d2cbb47a4845a9ca0a085f242f910 (diff) |
UI: Lamp -> Light for the object type visibility operators
Spotted in a live stream by Emilton Mendoza, thanks!
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 36bfe5ec65e..693bb9c4efb 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3714,7 +3714,7 @@ class VIEW3D_PT_object_type_visibility(Panel): "lattice", "empty", "camera", - "lamp", + "light", "light_probe", "speaker", ) diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index df838264cb7..d7024a149a3 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -3100,8 +3100,8 @@ static void rna_def_space_view3d(BlenderRNA *brna) {"show_object_viewport_empty", "show_object_select_empty"}}, {"Camera", (1 << OB_CAMERA), {"show_object_viewport_camera", "show_object_select_camera"}}, - {"Lamp", (1 << OB_LAMP), - {"show_object_viewport_lamp", "show_object_select_lamp"}}, + {"Light", (1 << OB_LAMP), + {"show_object_viewport_light", "show_object_select_light"}}, {"Speaker", (1 << OB_SPEAKER), {"show_object_viewport_speaker", "show_object_select_speaker"}}, {"Light Probe", (1 << OB_LIGHTPROBE), |