Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-07-09 18:43:24 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-09 18:43:54 +0300
commit3f208ed92747832ad80a897d30147e3c3d48bdb6 (patch)
tree222723729c3d20e40afa51d63d8233b506f166b2 /source/blender
parentb77c01924ab8ee01ecec8188de644f3b76072b6f (diff)
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
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c6
1 files changed, 1 insertions, 5 deletions
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");