Blender Git Commit Log
Git Commits -> Revision 976a0ff
Revision 976a0ff by Bastien Montagne (master) July 13, 2020, 10:51 (GMT) |
RNA code cleanup: Fix wrong usages of `rna_idproperty_check()`. This function is more expansive than the simpler `rna_ensure_property()` one, and should only be used when IDProperty data is actually needed. If one only needs to ensure it has a valid PropertyRNA pointer, `rna_ensure_property()` is much more efficient. Also add compiler warnings when results of those functions are unused, this should never be the case. |
Commit Details:
Full Hash: 976a0ff691040fee4633910b9ab6f898d406405a
Parent Commit: f8afbb7
Lines Changed: +48, -45