SCons: Fix for really nasty bug with polluting configuration environment
The issue was caused by the following construction:
def = env['SOMETHING']
defs.append('SOMETHING_MORE')
Since first assignment was actually referencing environment option it was totally
polluted hawing weird and wonderful side effects on all other areas of Blender.
This commit is contained in:
@@ -48,7 +48,8 @@ sources.remove('intern' + os.sep + 'GHOST_ContextWGL.cpp')
|
||||
|
||||
pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_SystemPaths', 'GHOST_Window', 'GHOST_DropTarget', 'GHOST_NDOFManager', 'GHOST_Context']
|
||||
|
||||
defs = env['BF_GL_DEFINITIONS']
|
||||
defs = []
|
||||
defs += env['BF_GL_DEFINITIONS']
|
||||
|
||||
if env['WITH_BF_GL_EGL']:
|
||||
defs.append('WITH_EGL')
|
||||
|
||||
Reference in New Issue
Block a user