Fix missing filter size in Eevee film panel.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 22 Apr 2018 15:02:52 +0000 (17:02 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sun, 22 Apr 2018 19:47:51 +0000 (21:47 +0200)
source/blender/makesrna/intern/rna_scene.c

index 17b543c51a79bd7ce55e7c0c778e2ab98a5928ff..d9dd10d05bd62c21f29b9acd21f13f56c7f5e57f 100644 (file)
@@ -5001,7 +5001,14 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Dither Intensity",
                                 "Amount of dithering noise added to the rendered image to break up banding");
        RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
-       
+
+       prop = RNA_def_property(srna, "filter_size", PROP_FLOAT, PROP_PIXEL);
+       RNA_def_property_float_sdna(prop, NULL, "gauss");
+       RNA_def_property_range(prop, 0.0f, 500.0f);
+       RNA_def_property_ui_range(prop, 0.01f, 10.0f, 1, 2);
+       RNA_def_property_ui_text(prop, "Filter Size", "Width over which the reconstruction filter combines samples");
+       RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
+
        prop = RNA_def_property(srna, "alpha_mode", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "alphamode");
        RNA_def_property_enum_items(prop, alpha_mode_items);