[Bf-blender-cvs] [dc3b3d94538] blender2.8: UI: Lamp -> Light for the object type visibility operators
Pablo Vazquez
noreply at git.blender.org
Tue Jul 17 00:46:02 CEST 2018
Commit: dc3b3d945386b3651bb0fb4413753297f044e535
Author: Pablo Vazquez
Date: Tue Jul 17 00:45:56 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBdc3b3d945386b3651bb0fb4413753297f044e535
UI: Lamp -> Light for the object type visibility operators
Spotted in a live stream by Emilton Mendoza, thanks!
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
M source/blender/makesrna/intern/rna_space.c
===================================================================
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),
More information about the Bf-blender-cvs
mailing list