Blender Git Commit Log

Git Commits -> Revision f87b37b

Revision f87b37b by Campbell Barton (master)
March 23, 2011, 12:44 (GMT)
allow unregistered rna classes to have rna properties assigned before registration.
this is useful for the register() class method which is called before the class gets structRNA assigned.

eg:

class MyClass(bpy.types.PropertyGroup):
@classmethod
def register(cls):
cls.name = StringProperty() # assigned but registration is delayed.


Commit Details:

Full Hash: f87b37b3ef679dad8f492e223f20fecc7e9fa5da
SVN Revision: 35722
Parent Commit: f35c396
Lines Changed: +3, -1

1 Modified Path:

/source/blender/python/intern/bpy_rna.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021