WestLangley 5 年之前
父节点
当前提交
6d16eae896
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 3 3
      examples/js/loaders/EXRLoader.js
  2. 3 3
      examples/jsm/loaders/EXRLoader.js

+ 3 - 3
examples/js/loaders/EXRLoader.js

@@ -1144,7 +1144,7 @@ THREE.EXRLoader.prototype = Object.assign( Object.create( THREE.DataTextureLoade
 
 					} else {
 
-						throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
+						throw 'EXRLoader.parse: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
 
 					}
 
@@ -1199,7 +1199,7 @@ THREE.EXRLoader.prototype = Object.assign( Object.create( THREE.DataTextureLoade
 
 						} else {
 
-							throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
+							throw 'EXRLoader.parse: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
 
 						}
 
@@ -1211,7 +1211,7 @@ THREE.EXRLoader.prototype = Object.assign( Object.create( THREE.DataTextureLoade
 
 		} else {
 
-			throw 'EXRLoader._parser: ' + EXRHeader.compression + ' is unsupported';
+			throw 'EXRLoader.parse: ' + EXRHeader.compression + ' is unsupported';
 
 		}
 

+ 3 - 3
examples/jsm/loaders/EXRLoader.js

@@ -1154,7 +1154,7 @@ EXRLoader.prototype = Object.assign( Object.create( DataTextureLoader.prototype
 
 					} else {
 
-						throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
+						throw 'EXRLoader.parse: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
 
 					}
 
@@ -1209,7 +1209,7 @@ EXRLoader.prototype = Object.assign( Object.create( DataTextureLoader.prototype
 
 						} else {
 
-							throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
+							throw 'EXRLoader.parse: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';
 
 						}
 
@@ -1221,7 +1221,7 @@ EXRLoader.prototype = Object.assign( Object.create( DataTextureLoader.prototype
 
 		} else {
 
-			throw 'EXRLoader._parser: ' + EXRHeader.compression + ' is unsupported';
+			throw 'EXRLoader.parse: ' + EXRHeader.compression + ' is unsupported';
 
 		}