Blender Git Commit Log

Git Commits -> Revision 599bd1c

Revision 599bd1c by Campbell Barton (master)
March 21, 2011, 06:22 (GMT)
patch from Martin, call classes register/unregister functions.
Modified to only do one lookup.

from Martin:
"Basically, what it does is allow you to add register and unregister class methods to rna types, this way you don't have to rely on module register/unregister methods to setup your types properly (and it makes them easier to move around when reorganizing code and easier to understand what a type does when reading code). This is especially nice for PropertyGroup classes that are added as properties to existing types, you can easily see in their register methods where they are added and removed in their unregister method. Obviously, those two methods are optional, so current code still works fine."

Commit Details:

Full Hash: 599bd1cbda109854c7efc7dbad36072b0eb2bdb1
SVN Revision: 35659
Parent Commit: 6031744
Lines Changed: +6, -0

1 Modified Path:

/release/scripts/modules/bpy/utils.py (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021