@needle-tools/engine 3.36.1-beta → 3.36.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -1
- package/dist/needle-engine.js +6 -6
- package/dist/needle-engine.light.js +6 -6
- package/dist/needle-engine.light.min.js +22 -22
- package/dist/needle-engine.light.umd.cjs +2 -2
- package/dist/needle-engine.min.js +2 -2
- package/dist/needle-engine.umd.cjs +2 -2
- package/lib/engine/engine_networking.d.ts +5 -3
- package/lib/engine/engine_networking.js +5 -3
- package/lib/engine/engine_networking.js.map +1 -1
- package/lib/engine-components/Renderer.js +6 -2
- package/lib/engine-components/Renderer.js.map +1 -1
- package/lib/engine-components/SceneSwitcher.d.ts +31 -2
- package/lib/engine-components/SceneSwitcher.js +19 -2
- package/lib/engine-components/SceneSwitcher.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/engine_networking.ts +5 -3
- package/src/engine-components/Renderer.ts +7 -2
- package/src/engine-components/SceneSwitcher.ts +32 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,10 @@ All notable changes to this package will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
-
## [3.36.
|
|
7
|
+
## [3.36.2-beta] - 2023-04-03
|
|
8
8
|
- Add and improve API documentation
|
|
9
9
|
- Add: `onXRSessionEnd` method hook
|
|
10
|
+
- Fix: Regression introduced by 3.36.0 causing stencil rendering to not work anymore
|
|
10
11
|
- Change: Move QR button method into `ButtonsFactory`
|
|
11
12
|
|
|
12
13
|
## [3.36.0-beta] - 2023-04-02
|
package/dist/needle-engine.js
CHANGED
|
@@ -30218,13 +30218,13 @@ class ew {
|
|
|
30218
30218
|
}
|
|
30219
30219
|
r(ew, "eventListeners", /* @__PURE__ */ new Map());
|
|
30220
30220
|
const uT = IA("debugdefines");
|
|
30221
|
-
bE('if(!globalThis[""3.36.
|
|
30221
|
+
bE('if(!globalThis[""3.36.2-beta""]) globalThis[""3.36.2-beta""] = "0.0.0";');
|
|
30222
30222
|
bE('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
30223
|
-
bE('if(!globalThis[""Wed Apr 03 2024
|
|
30224
|
-
bE('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.36.
|
|
30223
|
+
bE('if(!globalThis[""Wed Apr 03 2024 13:36:57 GMT+0200 (Central European Summer Time)""]) globalThis[""Wed Apr 03 2024 13:36:57 GMT+0200 (Central European Summer Time)""] = "unknown";');
|
|
30224
|
+
bE('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.36.2-beta";');
|
|
30225
30225
|
bE('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
30226
|
-
bE('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Wed Apr 03 2024
|
|
30227
|
-
const BC = "3.36.
|
|
30226
|
+
bE('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Wed Apr 03 2024 13:36:57 GMT+0200 (Central European Summer Time)";');
|
|
30227
|
+
const BC = "3.36.2-beta", AU = "undefined", pT = "Wed Apr 03 2024 13:36:57 GMT+0200 (Central European Summer Time)";
|
|
30228
30228
|
uT && console.log(`Engine version: ${BC} (generator: ${AU})
|
|
30229
30229
|
Project built at ${pT}`);
|
|
30230
30230
|
const ma = "needle_isActiveInHierarchy", DQ = "builtin_components", gf = "needle_editor_guid";
|
|
@@ -71937,7 +71937,7 @@ const fh = (CM = class extends UA {
|
|
|
71937
71937
|
}
|
|
71938
71938
|
}
|
|
71939
71939
|
onEnable() {
|
|
71940
|
-
this.sharedMeshes, this.setVisibility(!0), this._isInstancingEnabled || this.enableInstancing ? this.__internalDidAwakeAndStart && this.setInstancingEnabled(!0) : this.enabled && this.applyStencil(), this.updateReflectionProbe(), this.testIfLODLevelsAreAvailable();
|
|
71940
|
+
this.sharedMeshes, this.setVisibility(!0), this._isInstancingEnabled || this.enableInstancing == !0 || Array.isArray(this.enableInstancing) && this.enableInstancing.some((e) => e) ? this.__internalDidAwakeAndStart && this.setInstancingEnabled(!0) : this.enabled && this.applyStencil(), this.updateReflectionProbe(), this.testIfLODLevelsAreAvailable();
|
|
71941
71941
|
}
|
|
71942
71942
|
onDisable() {
|
|
71943
71943
|
this.setVisibility(!1), this.handles && this.handles.length > 0 && this.setInstancingEnabled(!1);
|
|
@@ -30218,13 +30218,13 @@ class $b {
|
|
|
30218
30218
|
}
|
|
30219
30219
|
h($b, "eventListeners", /* @__PURE__ */ new Map());
|
|
30220
30220
|
const FU = ne("debugdefines");
|
|
30221
|
-
hp('if(!globalThis[""3.36.
|
|
30221
|
+
hp('if(!globalThis[""3.36.2-beta""]) globalThis[""3.36.2-beta""] = "0.0.0";');
|
|
30222
30222
|
hp('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
30223
|
-
hp('if(!globalThis[""Wed Apr 03 2024
|
|
30224
|
-
hp('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.36.
|
|
30223
|
+
hp('if(!globalThis[""Wed Apr 03 2024 13:37:08 GMT+0200 (Central European Summer Time)""]) globalThis[""Wed Apr 03 2024 13:37:08 GMT+0200 (Central European Summer Time)""] = "unknown";');
|
|
30224
|
+
hp('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.36.2-beta";');
|
|
30225
30225
|
hp('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
30226
|
-
hp('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Wed Apr 03 2024
|
|
30227
|
-
const Zl = "3.36.
|
|
30226
|
+
hp('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Wed Apr 03 2024 13:37:08 GMT+0200 (Central European Summer Time)";');
|
|
30227
|
+
const Zl = "3.36.2-beta", UT = "undefined", UU = "Wed Apr 03 2024 13:37:08 GMT+0200 (Central European Summer Time)";
|
|
30228
30228
|
FU && console.log(`Engine version: ${Zl} (generator: ${UT})
|
|
30229
30229
|
Project built at ${UU}`);
|
|
30230
30230
|
const oh = "needle_isActiveInHierarchy", Kd = "builtin_components", y0 = "needle_editor_guid";
|
|
@@ -71937,7 +71937,7 @@ const Qm = (QC = class extends Te {
|
|
|
71937
71937
|
}
|
|
71938
71938
|
}
|
|
71939
71939
|
onEnable() {
|
|
71940
|
-
this.sharedMeshes, this.setVisibility(!0), this._isInstancingEnabled || this.enableInstancing ? this.__internalDidAwakeAndStart && this.setInstancingEnabled(!0) : this.enabled && this.applyStencil(), this.updateReflectionProbe(), this.testIfLODLevelsAreAvailable();
|
|
71940
|
+
this.sharedMeshes, this.setVisibility(!0), this._isInstancingEnabled || this.enableInstancing == !0 || Array.isArray(this.enableInstancing) && this.enableInstancing.some((t) => t) ? this.__internalDidAwakeAndStart && this.setInstancingEnabled(!0) : this.enabled && this.applyStencil(), this.updateReflectionProbe(), this.testIfLODLevelsAreAvailable();
|
|
71941
71941
|
}
|
|
71942
71942
|
onDisable() {
|
|
71943
71943
|
this.setVisibility(!1), this.handles && this.handles.length > 0 && this.setInstancingEnabled(!1);
|