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:
authorJanne Karhu <jhkarh@gmail.com>2011-04-04 17:33:31 +0400
committerJanne Karhu <jhkarh@gmail.com>2011-04-04 17:33:31 +0400
commit5b996e04d2dfdfcd30194e4988312e5d42e6797b (patch)
treeeb5a7e1d45ff448700e27a4e18aa3cf53315da60 /source/blender/makesrna/intern/rna_particle.c
parent709e4b309e21a0e2b7569924446b0295382e8b82 (diff)
Fix for [#26750] Particles Can Only Address first 16 Material Indexes
* The rna maximum hadn't been updated when the maximum material count was increased.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index c22809c6b22..990fece584d 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -1922,7 +1922,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
prop= RNA_def_property(srna, "material", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "omat");
- RNA_def_property_range(prop, 1, 16);
+ RNA_def_property_range(prop, 1, 32767);
RNA_def_property_ui_text(prop, "Material", "Specify material used for the particles");
RNA_def_property_update(prop, 0, "rna_Particle_redo");