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-05-23 11:53:10 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-05-23 11:54:22 +0300
commit8d928732301310998a1a13a11460594af1e08a0d (patch)
tree2ee2a4ef697ece3bc92422d52cb3f8516900580c /source/blender/makesrna/intern/rna_space.c
parente92baab34893f5a5b3d6f59238fdb7855b72d7fe (diff)
Workbench: See through
Unmultiplied the final color during compositing. Same as the revealage buffer would do Also use the DRW_STATE_ADDITION_FULL as it is aware of premultiplied colors
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index d90dbd2ad7a..d4b5dd9be1d 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2308,15 +2308,6 @@ static void rna_def_space_view3d_shading(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "See Through", "Show whole scene transparent");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
- prop = RNA_def_property(srna, "see_through_transparency", PROP_FLOAT, PROP_FACTOR);
- RNA_def_property_float_sdna(prop, NULL, "shading.see_through_transparency");
- RNA_def_property_float_default(prop, 0.3f);
- RNA_def_property_ui_text(prop, "Transparency", "See through transparency");
- RNA_def_property_range(prop, 0.0f, 1.0f);
- RNA_def_property_ui_range(prop, 0.1f, 0.5f, 1, 3);
- RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
- RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
-
prop = RNA_def_property(srna, "object_outline_color", PROP_FLOAT, PROP_COLOR);
RNA_def_property_float_sdna(prop, NULL, "shading.object_outline_color");
RNA_def_property_array(prop, 3);