@needle-tools/engine 3.28.3-beta → 3.28.4-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 +3 -0
- package/dist/needle-engine.js +1 -1
- package/dist/needle-engine.light.js +1 -1
- package/dist/needle-engine.light.min.js +1 -1
- package/dist/needle-engine.light.umd.cjs +1 -1
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine-components/ui/EventSystem.js +1 -1
- package/lib/engine-components/ui/EventSystem.js.map +1 -1
- package/package.json +1 -1
- package/src/engine/codegen/register_types.ts +2 -2
- package/src/engine-components/ui/EventSystem.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,9 @@ 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.28.4-beta] - 2023-12-22
|
|
8
|
+
- Fix: WebXRController falsely triggering click in EventSystem
|
|
9
|
+
|
|
7
10
|
## [3.28.3-beta] - 2023-12-21
|
|
8
11
|
- Fix: Issue in pointer events not triggering onPointerEnter and Exit in VR
|
|
9
12
|
- Remove: warning log in USDZ export about double sided materials not being supported
|
package/dist/needle-engine.js
CHANGED
|
@@ -61923,7 +61923,7 @@ const vs = class extends NA {
|
|
|
61923
61923
|
if (!I)
|
|
61924
61924
|
return;
|
|
61925
61925
|
const o = new ia(this.context.input);
|
|
61926
|
-
o.inputSource = g, o.pointerId = ((s = g.input) == null ? void 0 : s.handedness) === "right" ? 0 : 1, o.isDown = g.selectionDown, o.isUp = g.selectionUp, o.isPressed = g.selectionPressed, o.isClicked =
|
|
61926
|
+
o.inputSource = g, o.pointerId = ((s = g.input) == null ? void 0 : s.handedness) === "right" ? 0 : 1, o.isDown = g.selectionDown, o.isUp = g.selectionUp, o.isPressed = g.selectionPressed, o.isClicked = !1, this.handleIntersections(I, o);
|
|
61927
61927
|
}), ui.addEventListener(XC.SelectStart, this._selectStartFn), ui.addEventListener(XC.SelectEnd, this._selectEndFn), ui.addEventListener(XC.Update, this._selectUpdateFn), this._handleInputFn = this.onPointerEvent.bind(this), this.context.input.addEventListener(Ni.PointerDown, this._handleInputFn), this.context.input.addEventListener(Ni.PointerUp, this._handleInputFn), this.context.input.addEventListener(Ni.PointerMove, this._handleInputFn);
|
|
61928
61928
|
}
|
|
61929
61929
|
onDisable() {
|
|
@@ -61923,7 +61923,7 @@ const Sa = class extends Ie {
|
|
|
61923
61923
|
if (!r)
|
|
61924
61924
|
return;
|
|
61925
61925
|
const o = new Ul(this.context.input);
|
|
61926
|
-
o.inputSource = s, o.pointerId = ((a = s.input) == null ? void 0 : a.handedness) === "right" ? 0 : 1, o.isDown = s.selectionDown, o.isUp = s.selectionUp, o.isPressed = s.selectionPressed, o.isClicked =
|
|
61926
|
+
o.inputSource = s, o.pointerId = ((a = s.input) == null ? void 0 : a.handedness) === "right" ? 0 : 1, o.isDown = s.selectionDown, o.isUp = s.selectionUp, o.isPressed = s.selectionPressed, o.isClicked = !1, this.handleIntersections(r, o);
|
|
61927
61927
|
}), un.addEventListener(Dl.SelectStart, this._selectStartFn), un.addEventListener(Dl.SelectEnd, this._selectEndFn), un.addEventListener(Dl.Update, this._selectUpdateFn), this._handleInputFn = this.onPointerEvent.bind(this), this.context.input.addEventListener(wn.PointerDown, this._handleInputFn), this.context.input.addEventListener(wn.PointerUp, this._handleInputFn), this.context.input.addEventListener(wn.PointerMove, this._handleInputFn);
|
|
61928
61928
|
}
|
|
61929
61929
|
onDisable() {
|