Blender Git Loki
Git Commits -> Revision f93e0f1
Revision f93e0f1 by Bastien Montagne (master) July 10, 2020, 13:23 (GMT) |
Refactor override code to properly deal with runtime rna properties too. The triplet static RNA / runtime RNA / custom properties is a real pain to deal with... Using the new `PropertyRNAOrID` struct helps clarifying and properly dealing with all three cases. Note that this makes override of py-defined RNA properties working (support for that will be committed next). Differential Revision: https://developer.blender.org/D8249 |
Commit Details:
Full Hash: f93e0f1a9eefb162cf9432240b101a5d9c372910
Parent Commit: 337e2c9
Lines Changed: +115, -151
5 Modified Paths:
/source/blender/makesrna/intern/rna_access.c (+1, -3) (Diff)
/source/blender/makesrna/intern/rna_access_compare_override.c (+66, -91) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+2, -6) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+3, -9) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+43, -42) (Diff)
/source/blender/makesrna/intern/rna_access_compare_override.c (+66, -91) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+2, -6) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+3, -9) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+43, -42) (Diff)