Note... - Python3.1 you don't need to add the .0 for divisions anymore (was esp annoying for button eval) - Simple dimension input, imperial mi/yd/ft/in, metric km/m/cm/mm, Later could display these values and have a pref for scene scale, atm it assumes 1BU == 1m.
20 lines
551 B
Python
20 lines
551 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
for source in env.Glob('*_api.c'):
|
|
sources.remove(source)
|
|
|
|
incs = '../include ../../blenlib ../../blenfont ../../blenkernel ../../makesdna ../../imbuf'
|
|
incs += ' ../../makesrna ../../windowmanager #/intern/guardedalloc'
|
|
incs += ' #/extern/glew/include'
|
|
incs += ' ../../python/' # python button eval
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs.append('INTERNATIONAL')
|
|
|
|
env.BlenderLib ( 'bf_editors_interface', sources, Split(incs), Split(defs), libtype=['core'], priority=[110] )
|