diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 17:38:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-19 17:38:45 +0400 |
commit | 6ed46566042760343029965f139d36473a077dcc (patch) | |
tree | 7ecb1124c0920900ae4b8c9bf991da48548ed9a8 /source/blender/makesrna/intern/rna_scene.c | |
parent | db354073ba1c80756e7ba238f2174f9ca3aa2157 (diff) |
map old/new rna & ui back
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 7ccef4ba031..6d0c197a6fb 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2389,6 +2389,22 @@ static void rna_def_scene_render_data(BlenderRNA *brna) RNA_def_property_ui_text(prop, "FPS Base", "Framerate base"); RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL); + /* frame mapping */ + prop= RNA_def_property(srna, "frame_map_old", PROP_INT, PROP_NONE); + RNA_def_property_int_sdna(prop, NULL, "framapto"); + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); + RNA_def_property_range(prop, 1, 900); + RNA_def_property_ui_text(prop, "Frame Map Old", "Specify old mapping value in frames"); + RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL); + + prop= RNA_def_property(srna, "frame_map_new", PROP_INT, PROP_NONE); + RNA_def_property_int_sdna(prop, NULL, "images"); + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); + RNA_def_property_range(prop, 1, 900); + RNA_def_property_ui_text(prop, "Frame Map New", "Specify how many frames the Map Old will last"); + RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL); + + prop= RNA_def_property(srna, "dither_intensity", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "dither_intensity"); RNA_def_property_range(prop, 0.0f, 2.0f); |