SCons: code cleanup, shorter way to determine makesrna output directory.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D237
This commit is contained in:
parent
cb0a5adc56
commit
df944eb041
|
@ -203,8 +203,7 @@ else:
|
|||
rna_dict = rna.Dictionary()
|
||||
rna.Depends (generated_files, makesrna)
|
||||
|
||||
# this seems bad, how to retrieve it from scons?
|
||||
build_dir = root_build_dir + os.sep +'source' + os.sep + 'blender' + os.sep + 'makesrna' + os.sep + 'intern' + os.sep
|
||||
build_dir = Dir(".").abspath + os.sep
|
||||
|
||||
if env['OURPLATFORM'] != 'linuxcross':
|
||||
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw', 'win64-mingw'):
|
||||
|
|
Loading…
Reference in New Issue