Blender Git Loki
Git Commits -> Revision 47345cf
Revision 47345cf by Nathan Letwory (master) October 20, 2008, 12:33 (GMT) |
=== Blender Python API === After some discussion with Campbell, changed the way cstruct sizeof is fetched. Moved DataSize() to Blender.Types.CSizeof(Blendertype). Supported types return sizeof(data struct), otherwise -1. To quickly check what types are supported: import Blender.Types as bt x = dir(bt) for t in x: if t[0] != '_': s = 'bt.CSizeof(bt.' + t + ')' print t,"=", eval(s) |
Commit Details:
Full Hash: 47345cfd780a469bca4507d9b8d8f16dc56a2022
SVN Revision: 17130
Parent Commit: 25859cf
Lines Changed: +126, -79