From 0a3c8f39836ef4029b478a9aa98784b6f4657a6e Mon Sep 17 00:00:00 2001 From: Remco Veldkamp Date: Tue, 21 Nov 2023 22:29:43 +0100 Subject: [PATCH] update changelog --- CHANGELOG.md | 9 +++++++++ package.json | 1 + 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36a4ccc2..acfd7230 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ ## next +## 2.11 🏺 Vase Mode 🏺 +- new option: `minLayerTreshold` +If the difference in Z exceeds the threshold a new layer is allocated. +If not specified, the default value is 0. (0 meaning a new layer is allocated for each and every increase in Z, however tiny.) + +Setting a non-zero value helps to reduce the number of layers that are allocated in memory, which would otherwise cause lagging or even a lock up for spiral vases and such. + +Thanks to @raulodev for the initial fix. + ## 2.10 🎃 Halloween release 🎃 This release is all about colors! diff --git a/package.json b/package.json index 69b01612..e9172434 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "version:patch": "npm version patch", "version:minor": "npm version minor", "xpostversion": "npm publish && npm run deploy", + "predeploy": "npm run build", "deploy": "firebase deploy --only hosting" }, "dependencies": {