Blender Git Loki

Git Commits -> Revision 74e8e14

Revision 74e8e14 by Sergey Sharybin (master)
March 27, 2015, 13:44 (GMT)
Makesrna: Fix function prototypes for struct used RNA_def_struct_sdna_from

Previously makesrna would have generated code expecting DNA structure from
RNA_def_struct_sdna_from() to be passed to it. This was wrong because actual
PointerRNA points to a "parent" structure, making it impossible to add
functions to certain RNA structures.

It so far never needed and we didn't notice this issue, but it's needed for
some ongoing development now.

Commit Details:

Full Hash: 74e8e14cced7698748c5e4018347438748c499ab
Parent Commit: 1c2f1ff
Lines Changed: +8, -4

1 Modified Path:

/source/blender/makesrna/intern/makesrna.c (+8, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021