Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
| Context not available. | |||||
| prop = RNA_def_property(srna, "use_pass_mist", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_pass_mist", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "passflag", SCE_PASS_MIST); | RNA_def_property_boolean_sdna(prop, NULL, "passflag", SCE_PASS_MIST); | ||||
| RNA_def_property_ui_text(prop, "Mist", "Deliver mist factor pass (0.0-1.0)"); | RNA_def_property_ui_text(prop, "Mist", "Deliver mist factor pass (0.0 to 1.0)"); | ||||
| if (scene) { | if (scene) { | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_ViewLayer_pass_update"); | RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_ViewLayer_pass_update"); | ||||
| } | } | ||||
| Context not available. | |||||
| RNA_def_property_range(prop, 0.0, 1000.0); | RNA_def_property_range(prop, 0.0, 1000.0); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Scale", | "Scale", | ||||
| "Instead of automatically normalizing to 0..1, " | "Instead of automatically normalizing to the range 0 to 1, " | ||||
| "apply a user scale to the derivative map"); | "apply a user scale to the derivative map"); | ||||
| /* stamp */ | /* stamp */ | ||||
| Context not available. | |||||