Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-19 15:03:53 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-19 15:04:51 +0300
commit1b972a38fef3e373872f2ea3cb8eb75aa50a23eb (patch)
tree4cafbc4bd3ddb51e54f4dce3aa1e05ab18adaca6 /source/blender/makesrna/intern/rna_space.c
parentde748bbedfb81238d15da2db13b94f276038b9f0 (diff)
Lookdev: Renamed RNA
studiolight_background => studiolight_background_alpha Removed "Show" from the label
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c4
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 60a6e55f700..13ea2dd436e 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2436,10 +2436,10 @@ static void rna_def_space_view3d_shading(BlenderRNA *brna)
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
- prop = RNA_def_property(srna, "studiolight_background", PROP_FLOAT, PROP_FACTOR);
+ prop = RNA_def_property(srna, "studiolight_background_alpha", PROP_FLOAT, PROP_FACTOR);
RNA_def_property_float_sdna(prop, NULL, "shading.studiolight_background");
RNA_def_property_float_default(prop, 0.0);
- RNA_def_property_ui_text(prop, "Show Background", "Show the studiolight in the background");
+ RNA_def_property_ui_text(prop, "Background", "Show the studiolight in the background");
RNA_def_property_range(prop, 0.0f, 1.0f);
RNA_def_property_ui_range(prop, 0.00f, 1.0f, 1, 3);
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);