2.5: RNA auto pointer type detection didn't find right types. If
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 8 Feb 2009 14:56:43 +0000 (14:56 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Sun, 8 Feb 2009 14:56:43 +0000 (14:56 +0000)
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

index 84f4462dabe24960f8be05443ca48cf5b62609d9..800ee1f5ca1a311ff57407560783826c312f2fee 100644 (file)
@@ -1411,8 +1411,8 @@ static int rna_preprocess(char *outfile)
                }
        }
 
-       rna_sort(brna);
        rna_auto_types();
+       rna_sort(brna);
 
        status= (DefRNA.error != 0);