Skip to content

Commit a2c858c

Browse files
Bump aframe-master dist/ builds. (aframevr/aframe@d15bf5a...d4c1b87)
1 parent d4c1b87 commit a2c858c

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

dist/aframe-master.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14058,8 +14058,12 @@ module.exports.Component = registerComponent('hand-controls', {
1405814058
mesh.mixer = new THREE.AnimationMixer(mesh);
1405914059
self.clips = gltf.animations;
1406014060
el.setObject3D('mesh', mesh);
14061-
var handMaterial = mesh.children[0].material;
14062-
handMaterial.color = new THREE.Color(handColor);
14061+
mesh.traverse(function (object) {
14062+
if (!object.isMesh) {
14063+
return;
14064+
}
14065+
object.material.color = new THREE.Color(handColor);
14066+
});
1406314067
mesh.position.set(0, 0, 0);
1406414068
mesh.rotation.set(handModelOrientationX, 0, handModelOrientationZ);
1406514069
el.setAttribute('magicleap-controls', controlConfiguration);
@@ -30239,7 +30243,7 @@ __webpack_require__(/*! ./core/a-mixin */ "./src/core/a-mixin.js");
3023930243
// Extras.
3024030244
__webpack_require__(/*! ./extras/components/ */ "./src/extras/components/index.js");
3024130245
__webpack_require__(/*! ./extras/primitives/ */ "./src/extras/primitives/index.js");
30242-
console.log('A-Frame Version: 1.4.2 (Date 2023-07-18, Commit #c185a2b5)');
30246+
console.log('A-Frame Version: 1.4.2 (Date 2023-07-20, Commit #d4c1b871)');
3024330247
console.log('THREE Version (https://github.com/supermedium/three.js):', pkg.dependencies['super-three']);
3024430248
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);
3024530249
module.exports = window.AFRAME = {

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.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ require('./core/a-mixin');
9292
require('./extras/components/');
9393
require('./extras/primitives/');
9494

95-
console.log('A-Frame Version: 1.4.2 (Date 2023-07-18, Commit #c185a2b5)');
95+
console.log('A-Frame Version: 1.4.2 (Date 2023-07-20, Commit #d4c1b871)');
9696
console.log('THREE Version (https://github.com/supermedium/three.js):',
9797
pkg.dependencies['super-three']);
9898
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);

0 commit comments

Comments
 (0)