Commit: 3f208ed92747832ad80a897d30147e3c3d48bdb6
Author: Sergey Sharybin
Date:   Tue Jul 9 17:43:24 2019 +0200
Branches: master
https://developer.blender.org/rB3f208ed92747832ad80a897d30147e3c3d48bdb6

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

===================================================================

M       source/blender/makesrna/intern/rna_particle.c

===================================================================

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");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to