From 6d38010cc5c5cfd703782c25aa5220abb2f01c2c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 7 Feb 2010 13:56:36 +0000 Subject: sunsky presets * Mountain: low turbidity, well-defined sun, blue-ish (high sun energy) * Desert: high turbidity (dust), big, diluted sun, red-ish * Classic: average turbidity (water vapor), small, diluted sun. also fixed a bug with saving string presets --- source/blender/makesrna/intern/rna_lamp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_lamp.c') diff --git a/source/blender/makesrna/intern/rna_lamp.c b/source/blender/makesrna/intern/rna_lamp.c index c0ebc2abdf9..c1d274f6cca 100644 --- a/source/blender/makesrna/intern/rna_lamp.c +++ b/source/blender/makesrna/intern/rna_lamp.c @@ -307,12 +307,12 @@ static void rna_def_lamp_sky_settings(BlenderRNA *brna) /* boolean */ - prop= RNA_def_property(srna, "sky", PROP_BOOLEAN, PROP_NONE); + prop= RNA_def_property(srna, "use_sky", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "sun_effect_type", LA_SUN_EFFECT_SKY); RNA_def_property_ui_text(prop, "Sky", "Apply sun effect on sky."); RNA_def_property_update(prop, 0, "rna_Lamp_sky_update"); - prop= RNA_def_property(srna, "atmosphere", PROP_BOOLEAN, PROP_NONE); + prop= RNA_def_property(srna, "use_atmosphere", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "sun_effect_type", LA_SUN_EFFECT_AP); RNA_def_property_ui_text(prop, "Atmosphere", "Apply sun effect on atmosphere."); RNA_def_property_update(prop, 0, "rna_Lamp_sky_update"); -- cgit v1.2.3