|
@@ -100,8 +100,8 @@ THREE.ColladaExporter.prototype = {
|
|
|
canvas = canvas || document.createElement( 'canvas' );
|
|
|
ctx = ctx || canvas.getContext( '2d' );
|
|
|
|
|
|
- canvas.width = image.naturalWidth;
|
|
|
- canvas.height = image.naturalHeight;
|
|
|
+ canvas.width = image.width;
|
|
|
+ canvas.height = image.height;
|
|
|
|
|
|
ctx.drawImage( image, 0, 0 );
|
|
|
|