[Bf-blender-cvs] [a619a90] alembic: Fix for linking order in scons preventing correct initialization of the Alembic caching implementation.
Lukas Tönne
noreply at git.blender.org
Thu Mar 26 13:55:12 CET 2015
Commit: a619a906d1a08fad9e83774fd7c6dcd70bbf9c6e
Author: Lukas Tönne
Date: Mon Mar 23 18:04:19 2015 +0100
Branches: alembic
https://developer.blender.org/rBa619a906d1a08fad9e83774fd7c6dcd70bbf9c6e
Fix for linking order in scons preventing correct initialization of
the Alembic caching implementation.
===================================================================
M source/blender/pointcache/SConscript
M source/blender/pointcache/alembic/SConscript
===================================================================
diff --git a/source/blender/pointcache/SConscript b/source/blender/pointcache/SConscript
index a250c25..4b18b6f 100644
--- a/source/blender/pointcache/SConscript
+++ b/source/blender/pointcache/SConscript
@@ -48,9 +48,8 @@ if env['WITH_BF_INTERNATIONAL']:
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
incs.append(env['BF_PTHREADS_INC'])
-env.BlenderLib('bf_pointcache', sources, incs, defines=defs, libtype=['core','player'], priority=[900,900])
-
if env['WITH_BF_ALEMBIC']:
defs.append('WITH_PTC_ALEMBIC')
-
SConscript(['alembic/SConscript'])
+
+env.BlenderLib('bf_pointcache', sources, incs, defines=defs, libtype=['core','player'], priority=[902,902])
diff --git a/source/blender/pointcache/alembic/SConscript b/source/blender/pointcache/alembic/SConscript
index c5ed795..47fbafe 100644
--- a/source/blender/pointcache/alembic/SConscript
+++ b/source/blender/pointcache/alembic/SConscript
@@ -51,10 +51,9 @@ if env['WITH_BF_INTERNATIONAL']:
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
incs.append(env['BF_PTHREADS_INC'])
-if env['WITH_BF_ALEMBIC']:
- incs.append(env['BF_OPENEXR_INC'])
- incs.append(env['BF_ALEMBIC_INC'])
+incs.append(env['BF_OPENEXR_INC'])
+incs.append(env['BF_ALEMBIC_INC'])
- defs.append('WITH_ALEMBIC')
+defs.append('WITH_ALEMBIC')
env.BlenderLib('bf_pointcache_alembic', sources, incs, defines=defs, libtype=['core','player'], priority=[901, 901])
More information about the Bf-blender-cvs
mailing list