Skip to content

Commit 5c85268

Browse files
Bump aframe-master dist/ builds. (d07b7f9...0d5e1e2)
1 parent 1522890 commit 5c85268

File tree

7 files changed

+20
-8
lines changed

7 files changed

+20
-8
lines changed

‎dist/aframe-master.js‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6924,6 +6924,9 @@ var Component = (0,_core_component_js__WEBPACK_IMPORTED_MODULE_0__.registerCompo
69246924
default: 1500,
69256925
min: 0
69266926
},
6927+
hand: {
6928+
default: ''
6929+
},
69276930
mouseCursorStylesEnabled: {
69286931
default: true
69296932
},
@@ -7202,6 +7205,10 @@ var Component = (0,_core_component_js__WEBPACK_IMPORTED_MODULE_0__.registerCompo
72027205
* Trigger mousedown and keep track of the mousedowned entity.
72037206
*/
72047207
onCursorDown: function (evt) {
7208+
// Filter WebXR events by handedness when hand is configured.
7209+
if (evt.type === 'selectstart' && this.data.hand && evt.inputSource.handedness !== this.data.hand) {
7210+
return;
7211+
}
72057212
this.isCursorDown = true;
72067213
// Raycast again for touch.
72077214
if (this.data.rayOrigin === 'mouse' && evt.type === 'touchstart') {
@@ -7235,6 +7242,10 @@ var Component = (0,_core_component_js__WEBPACK_IMPORTED_MODULE_0__.registerCompo
72357242
if (!this.isCursorDown) {
72367243
return;
72377244
}
7245+
// Filter WebXR events by handedness when hand is configured.
7246+
if (evt && evt.type === 'selectend' && this.data.hand && evt.inputSource.handedness !== this.data.hand) {
7247+
return;
7248+
}
72387249
if (this.data.rayOrigin === 'xrselect' && this.activeXRInput !== evt.inputSource) {
72397250
return;
72407251
}
@@ -9351,7 +9362,8 @@ __webpack_require__.r(__webpack_exports__);
93519362
el.setAttribute('raycaster', 'showLine', true);
93529363
}
93539364
el.setAttribute('cursor', _utils_index_js__WEBPACK_IMPORTED_MODULE_1__.extend({
9354-
fuse: false
9365+
fuse: false,
9366+
hand: data.hand
93559367
}, controllerConfig.cursor));
93569368
}
93579369
function hideRay(evt) {
@@ -61661,7 +61673,7 @@ if (_utils_index_js__WEBPACK_IMPORTED_MODULE_16__.device.isBrowserEnvironment) {
6166161673
window.logs = debug;
6166261674
__webpack_require__(/*! ./style/aframe.css */ "./src/style/aframe.css");
6166361675
}
61664-
console.log('A-Frame Version: 1.7.1 (Date 2025-12-18, Commit #be93909a)');
61676+
console.log('A-Frame Version: 1.7.1 (Date 2025-12-19, Commit #0d5e1e23)');
6166561677
console.log('THREE Version (https://github.com/supermedium/three.js):', _lib_three_js__WEBPACK_IMPORTED_MODULE_1__["default"].REVISION);
6166661678

6166761679
// Wait for ready state, unless user asynchronously initializes A-Frame.

‎dist/aframe-master.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/aframe-master.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/aframe-master.min.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/aframe-master.module.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/aframe-master.module.min.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if (utils.device.isBrowserEnvironment) {
5858
require('./style/aframe.css');
5959
}
6060

61-
console.log('A-Frame Version: 1.7.1 (Date 2025-12-18, Commit #be93909a)');
61+
console.log('A-Frame Version: 1.7.1 (Date 2025-12-19, Commit #0d5e1e23)');
6262
console.log('THREE Version (https://github.com/supermedium/three.js):',
6363
THREE.REVISION);
6464

0 commit comments

Comments
 (0)