未验证 提交 86eda539 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17871 from WestLangley/dev_exrloader_cleanup

EXRLoader: Clean up
......@@ -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';
}
......
......@@ -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';
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册