diff --git a/BUILDING.md b/BUILDING.md index de1549f230f..167e1736ed6 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -356,7 +356,7 @@ same version that our continuous builds use. ```shell cd -curl -L https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.15.zip > emsdk.zip +curl -L https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.60.zip > emsdk.zip unzip emsdk.zip ; mv emsdk-* emsdk ; cd emsdk python ./emsdk.py install latest python ./emsdk.py activate latest diff --git a/build/web/ci-common.sh b/build/web/ci-common.sh index fa15a687b30..e7726a8f7cb 100755 --- a/build/web/ci-common.sh +++ b/build/web/ci-common.sh @@ -13,7 +13,7 @@ chmod +x ninja export PATH="$PWD:$PATH" # Install emscripten. -curl -L https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.15.zip > emsdk.zip +curl -L https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.60.zip > emsdk.zip unzip emsdk.zip ; mv emsdk-* emsdk ; cd emsdk ./emsdk install latest ./emsdk activate latest diff --git a/web/filament-js/jsbindings.cpp b/web/filament-js/jsbindings.cpp index 1ca1b97c93f..24677902bff 100644 --- a/web/filament-js/jsbindings.cpp +++ b/web/filament-js/jsbindings.cpp @@ -1050,7 +1050,7 @@ class_("RenderableManager") .class_function("Builder", (RenderableBuilder (*)(int)) [] (int n) { return RenderableBuilder(n); - }) + }, return_value_policy::take_ownership()) .function("destroy", &RenderableManager::destroy) .function("setAxisAlignedBoundingBox", &RenderableManager::setAxisAlignedBoundingBox)