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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-11 19:49:27 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-08-11 19:49:27 +0400
commit33686720f2313944d895e543c0fa306eaa9fe9c4 (patch)
tree012a833769a806dc0fa381b81ab496c228c56037 /source/blender/makesrna/intern/makesrna.c
parent48ae40ccdf5475506700b7b50e5e677ecf301479 (diff)
Fix RNA parameter passing issue with dynamic arrays, was computing the wrong
size in some cases.
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r--source/blender/makesrna/intern/makesrna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index 5237c97ef71..c158facca7c 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -2292,7 +2292,7 @@ static void rna_def_function_funcs(FILE *f, StructDefRNA *dsrna, FunctionDefRNA
}
if (dparm->next)
- fprintf(f, "\t_data += %d;\n", rna_parameter_size_alloc(dparm->prop));
+ fprintf(f, "\t_data += %d;\n", rna_parameter_size(dparm->prop));
}
if (dfunc->call) {