* USDZExporter: Add warning when processing textures with no image data. * USDZExporter: Throw exception when no image data are defined. * Update USDZExporter.js
@@ -163,6 +163,10 @@ function imageToCanvas( image, color ) {
return canvas;
+ } else {
+
+ throw new Error( 'THREE.USDZExporter: No valid image data found. Unable to process texture.' );
}