SCons: Fix for really nasty bug with polluting configuration environment
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Aug 2015 16:04:45 +0000 (18:04 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Aug 2015 16:06:28 +0000 (18:06 +0200)
commitdfc672f8bbb8633f014f393fe3de2e39ed77c8dd
treebeabdee122abee131811cb0872fa4fc2a5a73cfd
parent1fc32249f5d8bf33634461f9d1421104e5cf0323
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.
51 files changed:
extern/glew-es/SConscript
extern/glew/SConscript
intern/ghost/SConscript
intern/glew-mx/SConscript
intern/opencolorio/SConscript
source/blender/blenfont/SConscript
source/blender/blenkernel/SConscript
source/blender/editors/animation/SConscript
source/blender/editors/armature/SConscript
source/blender/editors/gpencil/SConscript
source/blender/editors/interface/SConscript
source/blender/editors/mask/SConscript
source/blender/editors/mesh/SConscript
source/blender/editors/physics/SConscript
source/blender/editors/render/SConscript
source/blender/editors/screen/SConscript
source/blender/editors/sculpt_paint/SConscript
source/blender/editors/space_action/SConscript
source/blender/editors/space_buttons/SConscript
source/blender/editors/space_clip/SConscript
source/blender/editors/space_console/SConscript
source/blender/editors/space_file/SConscript
source/blender/editors/space_graph/SConscript
source/blender/editors/space_image/SConscript
source/blender/editors/space_info/SConscript
source/blender/editors/space_logic/SConscript
source/blender/editors/space_nla/SConscript
source/blender/editors/space_node/SConscript
source/blender/editors/space_outliner/SConscript
source/blender/editors/space_script/SConscript
source/blender/editors/space_sequencer/SConscript
source/blender/editors/space_text/SConscript
source/blender/editors/space_time/SConscript
source/blender/editors/space_view3d/SConscript
source/blender/editors/transform/SConscript
source/blender/editors/util/SConscript
source/blender/editors/uvedit/SConscript
source/blender/gpu/SConscript
source/blender/makesrna/SConscript
source/blender/makesrna/intern/SConscript
source/blender/nodes/SConscript
source/blender/python/SConscript
source/blender/windowmanager/SConscript
source/gameengine/BlenderRoutines/SConscript
source/gameengine/GamePlayer/common/SConscript
source/gameengine/GamePlayer/ghost/SConscript
source/gameengine/Ketsji/SConscript
source/gameengine/Physics/Bullet/SConscript
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
source/gameengine/Rasterizer/SConscript
source/gameengine/VideoTexture/SConscript