Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
avvy
three.js
Commits
af97c8ae
Commit
af97c8ae
authored
1 year ago
by
Mr.doob
Browse files
Options
Download
Email Patches
Plain Diff
Updated builds.
parent
eeeffc87
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
build/three.cjs
+21
-2
build/three.cjs
build/three.js
+21
-2
build/three.js
build/three.min.js
+1
-1
build/three.min.js
build/three.module.js
+21
-2
build/three.module.js
build/three.module.min.js
+1
-1
build/three.module.min.js
with
65 additions
and
8 deletions
+65
-8
build/three.cjs
View file @
af97c8ae
...
...
@@ -42511,9 +42511,28 @@ class DataTextureLoader extends Loader {
loader.setWithCredentials( scope.withCredentials );
loader.load( url, function ( buffer ) {
cons
t texData
= scope.parse( buffer ); // TODO: Use try/catch here and throw errors in derived loaders, see #26412
le
t texData
;
if ( ! texData ) return onError();
try {
texData = scope.parse( buffer );
} catch ( error ) {
if ( onError !== undefined ) {
onError( error );
} else {
console.error( error );
return;
}
}
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
This diff is collapsed.
Click to expand it.
build/three.js
View file @
af97c8ae
...
...
@@ -42516,9 +42516,28 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
loader.setWithCredentials( scope.withCredentials );
loader.load( url, function ( buffer ) {
cons
t texData
= scope.parse( buffer ); // TODO: Use try/catch here and throw errors in derived loaders, see #26412
le
t texData
;
if ( ! texData ) return onError();
try {
texData = scope.parse( buffer );
} catch ( error ) {
if ( onError !== undefined ) {
onError( error );
} else {
console.error( error );
return;
}
}
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
This diff is collapsed.
Click to expand it.
build/three.min.js
View file @
af97c8ae
This diff is collapsed.
Click to expand it.
build/three.module.js
View file @
af97c8ae
...
...
@@ -42509,9 +42509,28 @@ class DataTextureLoader extends Loader {
loader.setWithCredentials( scope.withCredentials );
loader.load( url, function ( buffer ) {
cons
t texData
= scope.parse( buffer ); // TODO: Use try/catch here and throw errors in derived loaders, see #26412
le
t texData
;
if ( ! texData ) return onError();
try {
texData = scope.parse( buffer );
} catch ( error ) {
if ( onError !== undefined ) {
onError( error );
} else {
console.error( error );
return;
}
}
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
This diff is collapsed.
Click to expand it.
build/three.module.min.js
View file @
af97c8ae
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help