* Added RNA for operators. This still uses ID properties internally, but through the RNA API now. The OP_get/set_* API that was used is replaced by the RNA API. Currently RNA properties for operators are defined at runtime since it means operator registration can be done in a single function. * Changed the existing operators to use this system, I haven't defined user interface names yet though. I also think there need to be some conventions on which properties to expose to make these operators usable in macros, for example if mouse coordinates should be stored or not. * When using ID properties through defined RNA properties, it now checks that the ID property actually matches the RNA property and removes/overwrites it otherwise. This ensures that you can safely get/set arrays for example without having to worry that some external thing may have changed the length. * Documentation now has some information on RNA + ID properties. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA
17 lines
710 B
Python
17 lines
710 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
#incs = '#/intern/guardedalloc ../blenlib ../makesdna ../blenkernel'
|
|
#incs += ' ../imbuf ../editors/include ../render/extern/include ../render/intern/include'
|
|
|
|
incs = '. ../editors/include ../python ../makesdna ../blenlib ../blenkernel'
|
|
incs += ' ../nodes ../imbuf ../blenloader ../render/extern/include'
|
|
incs += ' ../ftfont ../radiosity/extern/include ../../kernel/gen_system'
|
|
incs += ' ../makesrna'
|
|
|
|
incs += ' #/intern/guardedalloc #/intern/memutil #/intern/ghost #/intern/bmfont'
|
|
incs += ' #/intern/elbeem #/extern/glew/include'
|
|
env.BlenderLib ( 'bf_windowmanager', sources, Split(incs), [], libtype=['core','intern'], priority=[45, 45] )
|