Commit: df944eb0413fe4acbdfe054d657b04f6223e978e
Author: Lawrence D'Oliveiro
Date:   Tue Feb 4 19:08:17 2014 +0100
https://developer.blender.org/rBdf944eb0413fe4acbdfe054d657b04f6223e978e

SCons: code cleanup, shorter way to determine makesrna output directory.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D237

===================================================================

M       source/blender/makesrna/intern/SConscript

===================================================================

diff --git a/source/blender/makesrna/intern/SConscript 
b/source/blender/makesrna/intern/SConscript
index 5464f9a..29d84a8 100644
--- a/source/blender/makesrna/intern/SConscript
+++ b/source/blender/makesrna/intern/SConscript
@@ -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'):

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to