Merge branch 'master' into JoinVerticesProcessUsedVerticesMask
commit
5caae1a86d
|
@ -1455,7 +1455,9 @@ static void copyBoneToSkeletonBone(aiMesh *mesh, aiBone *bone, aiSkeletonBone *s
|
||||||
skeletonBone->mWeights = bone->mWeights;
|
skeletonBone->mWeights = bone->mWeights;
|
||||||
skeletonBone->mOffsetMatrix = bone->mOffsetMatrix;
|
skeletonBone->mOffsetMatrix = bone->mOffsetMatrix;
|
||||||
skeletonBone->mMeshId = mesh;
|
skeletonBone->mMeshId = mesh;
|
||||||
|
#ifndef ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS
|
||||||
skeletonBone->mNode = bone->mNode;
|
skeletonBone->mNode = bone->mNode;
|
||||||
|
#endif
|
||||||
skeletonBone->mParent = -1;
|
skeletonBone->mParent = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -995,8 +995,10 @@ struct aiSkeletonBone {
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
aiSkeletonBone() :
|
aiSkeletonBone() :
|
||||||
mParent(-1),
|
mParent(-1),
|
||||||
|
#ifndef ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS
|
||||||
mArmature(nullptr),
|
mArmature(nullptr),
|
||||||
mNode(nullptr),
|
mNode(nullptr),
|
||||||
|
#endif
|
||||||
mNumnWeights(0),
|
mNumnWeights(0),
|
||||||
mMeshId(nullptr),
|
mMeshId(nullptr),
|
||||||
mWeights(nullptr),
|
mWeights(nullptr),
|
||||||
|
|
|
@ -76,7 +76,7 @@ build_arch()
|
||||||
|
|
||||||
rm CMakeCache.txt
|
rm CMakeCache.txt
|
||||||
|
|
||||||
CMAKE_CLI_INPUT="-DCMAKE_C_COMPILER=$CMAKE_C_COMPILER -DCMAKE_CXX_COMPILER=$CMAKE_CXX_COMPILER -DCMAKE_TOOLCHAIN_FILE=./port/iOS/IPHONEOS_$(echo $1 | tr '[:lower:]' '[:upper:]')_TOOLCHAIN.cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENABLE_BOOST_WORKAROUND=ON -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS"
|
CMAKE_CLI_INPUT="-DCMAKE_C_COMPILER=$CMAKE_C_COMPILER -DCMAKE_CXX_COMPILER=$CMAKE_CXX_COMPILER -DCMAKE_TOOLCHAIN_FILE=./port/iOS/IPHONEOS_$(echo $1 | tr '[:lower:]' '[:upper:]')_TOOLCHAIN.cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_SHARED_LIBS=$BUILD_SHARED_LIBS"
|
||||||
|
|
||||||
echo "[!] Running CMake with -G 'Unix Makefiles' $CMAKE_CLI_INPUT"
|
echo "[!] Running CMake with -G 'Unix Makefiles' $CMAKE_CLI_INPUT"
|
||||||
|
|
||||||
|
@ -190,12 +190,8 @@ if [[ "$DEPLOY_FAT" -eq 1 ]]; then
|
||||||
|
|
||||||
if [[ "$BUILD_TYPE" =~ "Debug" ]]; then
|
if [[ "$BUILD_TYPE" =~ "Debug" ]]; then
|
||||||
make_fat_static_or_shared_binary 'libassimpd'
|
make_fat_static_or_shared_binary 'libassimpd'
|
||||||
make_fat_static_binary 'libIrrXMLd'
|
|
||||||
make_fat_static_binary 'libzlibstaticd'
|
|
||||||
else
|
else
|
||||||
make_fat_static_or_shared_binary 'libassimp'
|
make_fat_static_or_shared_binary 'libassimp'
|
||||||
make_fat_static_binary 'libIrrXML'
|
|
||||||
make_fat_static_binary 'libzlibstatic'
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[!] Done! The fat binaries can be found at $BUILD_DIR"
|
echo "[!] Done! The fat binaries can be found at $BUILD_DIR"
|
||||||
|
|
Loading…
Reference in New Issue