@needle-tools/engine 3.37.7-beta → 3.37.7-beta.1
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 +9 -8
- package/dist/needle-engine.light.js +9 -8
- package/dist/needle-engine.light.min.js +2 -2
- 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-components/export/usdz/extensions/Animation.js +3 -2
- package/lib/engine-components/export/usdz/extensions/Animation.js.map +1 -1
- package/package.json +1 -1
- package/src/engine-components/export/usdz/extensions/Animation.ts +3 -2
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.37.7-beta.1] - 2023-04-29
|
|
8
|
+
- Fix: USDZ regression in writing timeSamples > 1000
|
|
9
|
+
|
|
7
10
|
## [3.37.7-beta] - 2023-04-29
|
|
8
11
|
- Fix: USDZ animation loops didnt work in some cases
|
|
9
12
|
- Fix: Properly apply and revert arScale on USDZ export
|
package/dist/needle-engine.js
CHANGED
|
@@ -29476,13 +29476,13 @@ function qBA(g) {
|
|
|
29476
29476
|
Ck = g;
|
|
29477
29477
|
}
|
|
29478
29478
|
const dT = IA("debugdefines");
|
|
29479
|
-
OE('if(!globalThis[""3.37.7-beta""]) globalThis[""3.37.7-beta""] = "0.0.0";');
|
|
29479
|
+
OE('if(!globalThis[""3.37.7-beta.1""]) globalThis[""3.37.7-beta.1""] = "0.0.0";');
|
|
29480
29480
|
OE('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
29481
|
-
OE('if(!globalThis[""Mon Apr 29 2024
|
|
29482
|
-
OE('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.7-beta";');
|
|
29481
|
+
OE('if(!globalThis[""Mon Apr 29 2024 17:15:43 GMT+0200 (Central European Summer Time)""]) globalThis[""Mon Apr 29 2024 17:15:43 GMT+0200 (Central European Summer Time)""] = "unknown";');
|
|
29482
|
+
OE('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.7-beta.1";');
|
|
29483
29483
|
OE('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
29484
|
-
OE('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Apr 29 2024
|
|
29485
|
-
const dC = "3.37.7-beta", XU = "undefined", uT = "Mon Apr 29 2024
|
|
29484
|
+
OE('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Apr 29 2024 17:15:43 GMT+0200 (Central European Summer Time)";');
|
|
29485
|
+
const dC = "3.37.7-beta.1", XU = "undefined", uT = "Mon Apr 29 2024 17:15:43 GMT+0200 (Central European Summer Time)";
|
|
29486
29486
|
dT && console.log(`Engine version: ${dC} (generator: ${XU})
|
|
29487
29487
|
Project built at ${uT}`);
|
|
29488
29488
|
const Na = "needle_isActiveInHierarchy", GQ = "builtin_components", df = "needle_editor_guid";
|
|
@@ -64370,9 +64370,10 @@ class NiA {
|
|
|
64370
64370
|
}
|
|
64371
64371
|
n += I[B].getDuration() + Ig.animationDurationPadding;
|
|
64372
64372
|
}
|
|
64373
|
-
const C = Intl.NumberFormat("en", {
|
|
64374
|
-
maximumFractionDigits:
|
|
64375
|
-
minimumFractionDigits: 0
|
|
64373
|
+
const C = Intl.NumberFormat("en-US", {
|
|
64374
|
+
maximumFractionDigits: 3,
|
|
64375
|
+
minimumFractionDigits: 0,
|
|
64376
|
+
useGrouping: !1
|
|
64376
64377
|
});
|
|
64377
64378
|
for (let B = 0; B < I.length; B++) {
|
|
64378
64379
|
const Q = I[B];
|
|
@@ -29476,13 +29476,13 @@ function lue(s) {
|
|
|
29476
29476
|
YE = s;
|
|
29477
29477
|
}
|
|
29478
29478
|
const kU = ne("debugdefines");
|
|
29479
|
-
gp('if(!globalThis[""3.37.7-beta""]) globalThis[""3.37.7-beta""] = "0.0.0";');
|
|
29479
|
+
gp('if(!globalThis[""3.37.7-beta.1""]) globalThis[""3.37.7-beta.1""] = "0.0.0";');
|
|
29480
29480
|
gp('if(!globalThis[""undefined""]) globalThis[""undefined""] = "unknown";');
|
|
29481
|
-
gp('if(!globalThis[""Mon Apr 29 2024
|
|
29482
|
-
gp('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.7-beta";');
|
|
29481
|
+
gp('if(!globalThis[""Mon Apr 29 2024 17:15:53 GMT+0200 (Central European Summer Time)""]) globalThis[""Mon Apr 29 2024 17:15:53 GMT+0200 (Central European Summer Time)""] = "unknown";');
|
|
29482
|
+
gp('globalThis["__NEEDLE_ENGINE_VERSION__"] = "3.37.7-beta.1";');
|
|
29483
29483
|
gp('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
|
|
29484
|
-
gp('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Apr 29 2024
|
|
29485
|
-
const nc = "3.37.7-beta", GT = "undefined", FU = "Mon Apr 29 2024
|
|
29484
|
+
gp('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Mon Apr 29 2024 17:15:53 GMT+0200 (Central European Summer Time)";');
|
|
29485
|
+
const nc = "3.37.7-beta.1", GT = "undefined", FU = "Mon Apr 29 2024 17:15:53 GMT+0200 (Central European Summer Time)";
|
|
29486
29486
|
kU && console.log(`Engine version: ${nc} (generator: ${GT})
|
|
29487
29487
|
Project built at ${FU}`);
|
|
29488
29488
|
const dh = "needle_isActiveInHierarchy", nf = "builtin_components", B0 = "needle_editor_guid";
|
|
@@ -64370,9 +64370,10 @@ class tie {
|
|
|
64370
64370
|
}
|
|
64371
64371
|
l += r[d].getDuration() + qn.animationDurationPadding;
|
|
64372
64372
|
}
|
|
64373
|
-
const c = Intl.NumberFormat("en", {
|
|
64374
|
-
maximumFractionDigits:
|
|
64375
|
-
minimumFractionDigits: 0
|
|
64373
|
+
const c = Intl.NumberFormat("en-US", {
|
|
64374
|
+
maximumFractionDigits: 3,
|
|
64375
|
+
minimumFractionDigits: 0,
|
|
64376
|
+
useGrouping: !1
|
|
64376
64377
|
});
|
|
64377
64378
|
for (let d = 0; d < r.length; d++) {
|
|
64378
64379
|
const f = r[d];
|