* Add RenderResult.load_from_file to load whole multilayer exr's at once. * Removed x/y offset from RenderLayer.load_from_file, better to encourage using offset in begin_result() to minimize memory usage. * Added WITH_OPENEXR in some screen/file/image module for scons/make, exr was not working in some places there.
19 lines
556 B
Python
19 lines
556 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../blenfont ../../makesdna ../../imbuf'
|
|
incs += ' ../../blenloader ../../windowmanager ../../python ../../makesrna'
|
|
incs += ' ../../render/extern/include'
|
|
incs += ' #/intern/guardedalloc #/extern/glew/include'
|
|
|
|
defs = ''
|
|
|
|
if not env['WITH_BF_PYTHON']:
|
|
defs += 'DISABLE_PYTHON'
|
|
if env['WITH_BF_OPENEXR']:
|
|
defs += ' WITH_OPENEXR'
|
|
|
|
env.BlenderLib ( 'bf_editors_screen', sources, Split(incs), Split(defs), libtype=['core'], priority=[105] )
|