Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,677 Lines • ▼ Show 20 Lines | static void rna_def_scene_render_data(BlenderRNA *brna) | ||||
| RNA_def_property_int_sdna(prop, NULL, "images"); | RNA_def_property_int_sdna(prop, NULL, "images"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_range(prop, 1, 900); | RNA_def_property_range(prop, 1, 900); | ||||
| RNA_def_property_ui_text(prop, "Frame Map New", "How many frames the Map Old will last"); | RNA_def_property_ui_text(prop, "Frame Map New", "How many frames the Map Old will last"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_FRAME, "rna_Scene_framelen_update"); | RNA_def_property_update(prop, NC_SCENE | ND_FRAME, "rna_Scene_framelen_update"); | ||||
| prop = RNA_def_property(srna, "dither_intensity", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "dither_intensity", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "dither_intensity"); | RNA_def_property_float_sdna(prop, NULL, "dither_intensity"); | ||||
| RNA_def_property_range(prop, 0.0f, 2.0f); | RNA_def_property_range(prop, 0.0, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, 0.0, 2.0, 0.1, 2); | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Dither Intensity", | "Dither Intensity", | ||||
| "Amount of dithering noise added to the rendered image to break up banding"); | "Amount of dithering noise added to the rendered image to break up banding"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); | RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL); | ||||
| prop = RNA_def_property(srna, "filter_size", PROP_FLOAT, PROP_PIXEL); | prop = RNA_def_property(srna, "filter_size", PROP_FLOAT, PROP_PIXEL); | ||||
| RNA_def_property_float_sdna(prop, NULL, "gauss"); | RNA_def_property_float_sdna(prop, NULL, "gauss"); | ||||
| ▲ Show 20 Lines • Show All 1,841 Lines • Show Last 20 Lines | |||||