[Bf-blender-cvs] [d22699b] gooseberry: Removed stupid limit of 10 on particle instance modifier psys index.
Lukas Tönne
noreply at git.blender.org
Tue Feb 24 18:50:15 CET 2015
Commit: d22699be691af449c32842f4b3ef0321ff93a6d8
Author: Lukas Tönne
Date: Tue Feb 24 18:49:48 2015 +0100
Branches: gooseberry
https://developer.blender.org/rBd22699be691af449c32842f4b3ef0321ff93a6d8
Removed stupid limit of 10 on particle instance modifier psys index.
===================================================================
M source/blender/makesrna/intern/rna_modifier.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 8d0ba31..a7272dd 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -2370,7 +2370,7 @@ static void rna_def_modifier_particleinstance(BlenderRNA *brna)
prop = RNA_def_property(srna, "particle_system_index", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "psys");
- RNA_def_property_range(prop, 1, 10);
+ RNA_def_property_range(prop, 1, INT_MAX);
RNA_def_property_ui_text(prop, "Particle System Number", "");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
More information about the Bf-blender-cvs
mailing list