From 3f208ed92747832ad80a897d30147e3c3d48bdb6 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 9 Jul 2019 17:43:24 +0200 Subject: Raise particle count limit for 2.8 release Blender 2.8 features significant improvements in the creation of particles. Removed hard limit and increased soft limit. Patch by Gottfried Hofmann. Differential Revision: https://developer.blender.org/D5120 --- source/blender/makesrna/intern/rna_particle.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source/blender') diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index c1822b35f28..a96e85473a2 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -2822,11 +2822,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) prop = RNA_def_property(srna, "count", PROP_INT, PROP_UNSIGNED); RNA_def_property_int_sdna(prop, NULL, "totpart"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - /* This limit is for those freaks who have the machine power to handle it. */ - /* 10M particles take around 2.2 Gb of memory / disk space in saved file and */ - /* each cached frame takes around 0.5 Gb of memory / disk space depending on cache mode. */ - RNA_def_property_range(prop, 0, 10000000); - RNA_def_property_ui_range(prop, 0, 100000, 1, -1); + RNA_def_property_ui_range(prop, 0, 1000000, 1, -1); RNA_def_property_ui_text(prop, "Number", "Total number of particles"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); -- cgit v1.2.3