|
@@ -4,6 +4,13 @@
|
|
|
|
|
|
THREE.BinaryLoader = function ( manager ) {
|
|
|
|
|
|
+ if ( typeof manager === 'boolean' ) {
|
|
|
+
|
|
|
+ console.warn( 'THREE.BinaryLoader: showStatus parameter has been removed from constructor.' );
|
|
|
+ manager = undefined;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
|
|
|
|
|
|
};
|
|
@@ -12,6 +19,21 @@ THREE.BinaryLoader.prototype = {
|
|
|
|
|
|
constructor: THREE.BinaryLoader,
|
|
|
|
|
|
+ // Deprecated
|
|
|
+
|
|
|
+ get statusDomElement () {
|
|
|
+
|
|
|
+ if ( this._statusDomElement === undefined ) {
|
|
|
+
|
|
|
+ this._statusDomElement = document.createElement( 'div' );
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ console.warn( 'THREE.BinaryLoader: .statusDomElement has been removed.' );
|
|
|
+ return this._statusDomElement;
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
// Load models generated by slim OBJ converter with BINARY option (converter_obj_three_slim.py -t binary)
|
|
|
// - binary models consist of two files: JS and BIN
|
|
|
// - parameters
|