From 3fcc36d0b0677a0eb437d5ac941ea9e70a33b71f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Feb 2009 14:56:43 +0000 Subject: [PATCH] 2.5: RNA auto pointer type detection didn't find right types. If two RNA structs have the same DNA structs it should use the first defined one, could be smarter but for now this makes it work again. --- source/blender/makesrna/intern/makesrna.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 84f4462dabe..800ee1f5ca1 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -1411,8 +1411,8 @@ static int rna_preprocess(char *outfile) } } - rna_sort(brna); rna_auto_types(); + rna_sort(brna); status= (DefRNA.error != 0);