Blender Git Loki
Git Commits -> Revision d9bb08f
Revision d9bb08f by Campbell Barton (master) June 21, 2017, 02:19 (GMT) |
RNA: avoid many calls to 'RNA_struct_is_a' Quicker to find the ID-subtype then use direct pointer comparisons. Also modify `ID_code_to_RNA_type` so missing ID-codes raise a warning (handy when adding new ID types). |
Commit Details:
Full Hash: d9bb08f111e606f30876eb6cef972591b60c1080
Parent Commit: 0ef7ccb
Lines Changed: +63, -37