Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021