@needle-tools/three 0.185.2-alpha → 0.185.2-alpha.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.
@@ -1578,7 +1578,7 @@ class GLTFWriter {
1578
1578
 
1579
1579
  const beforeWriteArgs = { keep: true, newTexture: null };
1580
1580
 
1581
- this._invokeAll( function ( ext ) {
1581
+ await this._invokeAllAsync( function ( ext ) {
1582
1582
 
1583
1583
  ext.beforeWriteTexture && ext.beforeWriteTexture( map, beforeWriteArgs );
1584
1584
 
@@ -1848,7 +1848,7 @@ class GLTFWriter {
1848
1848
 
1849
1849
  const beforeWriteArgs = { keep: true }
1850
1850
 
1851
- this._invokeAll( function ( ext ) {
1851
+ await this._invokeAllAsync( function ( ext ) {
1852
1852
 
1853
1853
  ext.beforeWriteMesh && ext.beforeWriteMesh( mesh, beforeWriteArgs );
1854
1854
 
@@ -2472,7 +2472,7 @@ class GLTFWriter {
2472
2472
 
2473
2473
  const beforeWriteArgs = { keep: true }
2474
2474
 
2475
- this._invokeAll( function ( ext ) {
2475
+ await this._invokeAllAsync( function ( ext ) {
2476
2476
 
2477
2477
  ext.beforeWriteNode && ext.beforeWriteNode( object, beforeWriteArgs );
2478
2478
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/three",
3
- "version": "0.185.2-alpha",
3
+ "version": "0.185.2-alpha.1",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",