[Bf-blender-cvs] [f097453] master: Fix missing define in blenloader

Sergey Sharybin noreply at git.blender.org
Tue May 12 16:54:39 CEST 2015


Commit: f0974530068d1c04285010673e6512e29c674227
Author: Sergey Sharybin
Date:   Tue May 12 19:52:42 2015 +0500
Branches: master
https://developer.blender.org/rBf0974530068d1c04285010673e6512e29c674227

Fix missing define in blenloader

It caused blender versions compiled with scons not having proper
build date/hash stored in the .blend file.

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

M	source/blender/blenloader/SConscript

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

diff --git a/source/blender/blenloader/SConscript b/source/blender/blenloader/SConscript
index bd002e5..31dfc71 100644
--- a/source/blender/blenloader/SConscript
+++ b/source/blender/blenloader/SConscript
@@ -43,11 +43,14 @@ incs = [
     env['BF_ZLIB_INC'],
     ]
 
+defs = []
+
+if env['BF_BUILDINFO']:
+    defs.append('WITH_BUILDINFO')
+
 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
     incs.append(env['BF_PTHREADS_INC'])
 
-defs = []
-
 if env['WITH_BF_INTERNATIONAL']:
     defs.append('WITH_INTERNATIONAL')




More information about the Bf-blender-cvs mailing list