Blender Git Commit Log

Git Commits -> Revision f4be9a6

Revision f4be9a6 by Campbell Barton (master)
September 9, 2010, 05:37 (GMT)
support for defining rna class properties as class attributes
eg:
bpy.types.Scene.myprop = BoolProperty()

note, this uses an ugly python metaclass, this should be replaced with a C implimentation which is included but commented out, causing crashes in pythons GC which gives no hint as to where the bug comes from.

Commit Details:

Full Hash: f4be9a6393e76f1dc40488ab25c43763af2edcc2
SVN Revision: 31835
Parent Commit: 4eaa10a
Lines Changed: +162, -12

2 Modified Paths:

/release/scripts/modules/bpy_types.py (+69, -5) (Diff)
/source/blender/python/intern/bpy_rna.c (+93, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021