From 192838da83f6fab7a8ff0c835495cd8655271aae Mon Sep 17 00:00:00 2001 From: Cedric Guillemet <1312968+CedricGuillemet@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:09:52 +0100 Subject: [PATCH] Recastjs 1.6.4 --- azure-pipelines.yml | 4 ++-- recastjs/CMakeLists.txt | 7 ++++--- recastjs/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 261d08246..060a3a3ac 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,14 +17,14 @@ steps: cd .. git clone https://github.com/emscripten-core/emsdk.git cd emsdk - ./emsdk install latest + ./emsdk install 3.1.51 displayName: 'Clone/install emsdk' - task: CmdLine@2 inputs: script: | pushd ../emsdk - ./emsdk activate latest + ./emsdk activate 3.1.51 source "emsdk_env.sh" popd cd recastjs diff --git a/recastjs/CMakeLists.txt b/recastjs/CMakeLists.txt index eed920718..4c8125939 100644 --- a/recastjs/CMakeLists.txt +++ b/recastjs/CMakeLists.txt @@ -69,10 +69,10 @@ ADD_LIBRARY(${EXE_NAME} ${SRC_FILES} ${RECASTDETOUR_FILES}) set(CMAKE_BUILD_TYPE Release CACHE STRING "Build Type") # Default is 64*1024*1024 = 64MB -set(TOTAL_MEMORY 67108864 CACHE STRING "Total Memory") +#set(TOTAL_MEMORY 67108864 CACHE STRING "Total Memory") # Enable for resizable heap, with some amount of slowness -set(ALLOW_MEMORY_GROWTH 0 CACHE STRING "Allow Memory Growth") +set(ALLOW_MEMORY_GROWTH 1 CACHE STRING "Allow Memory Growth") set(EMCC_ARGS -flto @@ -88,7 +88,8 @@ set(EMCC_ARGS -s MODULARIZE=1 -s NO_EXIT_RUNTIME=1 -s NO_FILESYSTEM=1 - -s TOTAL_MEMORY=${TOTAL_MEMORY}) +# -s TOTAL_MEMORY=${TOTAL_MEMORY} +) if(${CLOSURE}) # Ignore closure errors about the bullet Node class diff --git a/recastjs/package.json b/recastjs/package.json index 21f828f0d..1cf324841 100644 --- a/recastjs/package.json +++ b/recastjs/package.json @@ -1,6 +1,6 @@ { "name": "recast-detour", - "version": "1.6.3", + "version": "1.6.4", "description": "recastjs is a port of recastnavigation and a thin abstraction layer using emscripten. https://github.com/emscripten-core/emscripten\r This port allows the use of recastnavigation in your browser using JavaScript or WebAssembly.", "main": "recast.js", "module": "recast.es6.js",