|
@@ -232,7 +232,7 @@ var Loader = function ( editor ) {
|
|
|
|
|
|
if ( isGLTF1( contents ) ) {
|
|
if ( isGLTF1( contents ) ) {
|
|
|
|
|
|
- console.error( 'Import of glTF asset not possible. Only versions >= 2.0 are supported. Please try to upgrade the file to glTF 2.0 using glTF-Pipeline.' );
|
|
|
|
|
|
+ alert( 'Import of glTF asset not possible. Only versions >= 2.0 are supported. Please try to upgrade the file to glTF 2.0 using glTF-Pipeline.' );
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
@@ -303,7 +303,7 @@ var Loader = function ( editor ) {
|
|
|
|
|
|
} catch ( error ) {
|
|
} catch ( error ) {
|
|
|
|
|
|
- console.error( error );
|
|
|
|
|
|
+ alert( error );
|
|
return;
|
|
return;
|
|
|
|
|
|
}
|
|
}
|