repo: janusweb action: commit revision: path_from: revision_from: a5a7bbc034fd30981f57ddb224726d59ef9d70c3: path_to: revision_to:
commit a5a7bbc034fd30981f57ddb224726d59ef9d70c3 Author: James BaicoianuDate: Fri Apr 15 04:42:47 2016 -0700 sbs3d aspect ratio fix diff --git a/scripts/image.js b/scripts/image.js
--- a/scripts/image.js
+++ b/scripts/image.js
@@ -97,7 +97,7 @@ elation.require(['engine.things.generic'], function() {
var size = this.getSize(this.texture.image);
aspect = size.height / size.width;
}
- if (this.properties.sbs3d || (this.asset && this.asset.sbs3d)) aspect *= 2;
+ if (this.properties.sbs3d || (this.asset && this.asset.sbs3d)) aspect /= 2;
if (this.properties.ou3d || (this.asset && this.asset.ou3d)) aspect /= 2;
return aspect;
}
-----END OF PAGE-----