Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesrna / intern / rna_scene.c
index 7b5f37d2187dd391cd66cc34b43e7afc3deab33b..84ff0d5a7ea1761e1a5ef515a82d068f73c32142 100644 (file)
@@ -6191,8 +6191,8 @@ static void rna_def_scene_layer_engine_settings_eevee(BlenderRNA *brna)
        prop = RNA_def_property(srna, "taa_samples", PROP_INT, PROP_NONE);
        RNA_def_property_int_funcs(prop, "rna_LayerEngineSettings_Eevee_taa_samples_get",
                                       "rna_LayerEngineSettings_Eevee_taa_samples_set", NULL);
-       RNA_def_property_ui_text(prop, "Samples", "Minimum number of temporal samples");
-       RNA_def_property_range(prop, 1, 32);
+       RNA_def_property_ui_text(prop, "Samples", "Minimum number of temporal samples, unlimited if 0");
+       RNA_def_property_range(prop, 0, INT_MAX);
        RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE);
        RNA_def_property_update(prop, NC_SCENE | ND_LAYER_CONTENT, "rna_SceneLayerEngineSettings_update");