Skip to content

Commit edca48b

Browse files
Bump aframe-master dist/ builds. (b910db8...241a775)
1 parent 241a775 commit edca48b

File tree

7 files changed

+15
-20
lines changed

7 files changed

+15
-20
lines changed

‎dist/aframe-master.js‎

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9885,7 +9885,6 @@ __webpack_require__.r(__webpack_exports__);
98859885

98869886
var degToRad = three__WEBPACK_IMPORTED_MODULE_3__.MathUtils.degToRad;
98879887
var warn = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.debug)('components:light:warn');
9888-
var CubeLoader = new three__WEBPACK_IMPORTED_MODULE_3__.CubeTextureLoader();
98899888
var probeCache = {};
98909889

98919890
/**
@@ -10324,26 +10323,22 @@ var Component = (0,_core_component_js__WEBPACK_IMPORTED_MODULE_1__.registerCompo
1032410323
}
1032510324

1032610325
// Populate the cache if not done for this envMap yet
10326+
var sceneEl = this.el.sceneEl;
1032710327
if (probeCache[data.envMap] === undefined) {
10328-
probeCache[data.envMap] = new window.Promise(function (resolve) {
10329-
_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.srcLoader.validateCubemapSrc(data.envMap, function loadEnvMap(urls) {
10330-
CubeLoader.load(urls, function (cube) {
10331-
var tempLightProbe = three_addons_lights_LightProbeGenerator_js__WEBPACK_IMPORTED_MODULE_4__.LightProbeGenerator.fromCubeTexture(cube);
10332-
probeCache[data.envMap] = tempLightProbe;
10328+
probeCache[data.envMap] = new Promise(function (resolve) {
10329+
_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.srcLoader.validateCubemapSrc(data.envMap, function loadEnvMap(srcs) {
10330+
sceneEl.systems.material.loadCubeMapTexture(srcs, function (texture) {
10331+
var tempLightProbe = three_addons_lights_LightProbeGenerator_js__WEBPACK_IMPORTED_MODULE_4__.LightProbeGenerator.fromCubeTexture(texture);
1033310332
resolve(tempLightProbe);
1033410333
});
1033510334
});
1033610335
});
1033710336
}
1033810337

1033910338
// Copy over light probe properties
10340-
if (probeCache[data.envMap] instanceof window.Promise) {
10341-
probeCache[data.envMap].then(function (tempLightProbe) {
10342-
light.copy(tempLightProbe);
10343-
});
10344-
} else if (probeCache[data.envMap] instanceof three__WEBPACK_IMPORTED_MODULE_3__.LightProbe) {
10345-
light.copy(probeCache[data.envMap]);
10346-
}
10339+
probeCache[data.envMap].then(function (tempLightProbe) {
10340+
light.copy(tempLightProbe);
10341+
});
1034710342
},
1034810343
onSetTarget: function (targetEl, light) {
1034910344
light.target = targetEl.object3D;
@@ -60846,7 +60841,7 @@ if (_utils_index_js__WEBPACK_IMPORTED_MODULE_16__.device.isBrowserEnvironment) {
6084660841
window.logs = debug;
6084760842
__webpack_require__(/*! ./style/aframe.css */ "./src/style/aframe.css");
6084860843
}
60849-
console.log('A-Frame Version: 1.7.1 (Date 2025-06-02, Commit #0a3256bd)');
60844+
console.log('A-Frame Version: 1.7.1 (Date 2025-06-02, Commit #241a775d)');
6085060845
console.log('THREE Version (https://github.com/supermedium/three.js):', _lib_three_js__WEBPACK_IMPORTED_MODULE_1__["default"].REVISION);
6085160846

6085260847
// 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-06-02, Commit #0a3256bd)');
61+
console.log('A-Frame Version: 1.7.1 (Date 2025-06-02, Commit #241a775d)');
6262
console.log('THREE Version (https://github.com/supermedium/three.js):',
6363
THREE.REVISION);
6464

0 commit comments

Comments
 (0)