repo: janusweb action: commit revision: path_from: revision_from: e1539c10efed32feadb617a9ca87ac35f3c9b8e3: path_to: revision_to:
commit e1539c10efed32feadb617a9ca87ac35f3c9b8e3 Author: James BaicoianuDate: Sun Jan 30 14:27:34 2022 -0800 Support overridden transparency attribute diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -731,7 +731,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
});
}
- m.transparent = (textureasset && textureasset.hasalpha) || m.opacity < 1;
+ m.transparent = (this.transparent !== null ? this.transparent : (textureasset && textureasset.hasalpha) || m.opacity < 1);
} else if (m.map && m.map.sourceFile) {
var imagesrc = m.map.sourceFile;
var asset = this.getAsset('image', imagesrc, true);
-----END OF PAGE-----