Files
test/source/blender
Nathan Letwory 47345cfd78 === 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)
2008-10-20 12:33:31 +00:00
..
2008-10-11 11:07:25 +00:00
2008-10-11 11:07:25 +00:00
2008-09-19 14:15:36 +00:00
2008-10-20 12:33:31 +00:00
2008-05-05 17:30:33 +00:00
2008-09-19 14:15:36 +00:00
2008-10-14 12:16:12 +00:00
2008-09-19 14:15:36 +00:00
2008-09-19 14:15:36 +00:00
2008-09-19 14:15:36 +00:00