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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-22 17:59:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-22 17:59:01 +0300
commit3b09e73e5801e33c8ccac6b524f5ca201f3be4eb (patch)
treec39808956343ace25bd798a7f2afd8d262c77ac1 /source/blender/makesrna/intern/rna_rna.c
parentc6979aa0f4d2edb1bb24ea9cbdaa1e7477899cb8 (diff)
- bugfix (user supplied fix) [#20745] makesrna with rename error.
- error with last commit, length had an index arg.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r--source/blender/makesrna/intern/rna_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index a2a6e7c361c..51f0fe62722 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -799,7 +799,7 @@ static void rna_BlenderRNA_structs_begin(CollectionPropertyIterator *iter, Point
}
/* optional, for faster lookups */
-static int rna_BlenderRNA_structs_length(PointerRNA *ptr, int index)
+static int rna_BlenderRNA_structs_length(PointerRNA *ptr)
{
return BLI_countlist(&((BlenderRNA*)ptr->data)->structs);
}