repo: janusweb action: commit revision: path_from: revision_from: f92786d4942553f3bb911d4350410f7151a80fe3: path_to: revision_to:
commit f92786d4942553f3bb911d4350410f7151a80fe3 Author: James BaicoianuDate: Mon Jul 13 11:38:48 2020 -0700 Don't error out if shader uniform type isn't specified diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -1411,10 +1411,12 @@ elation.require([
console.warn('Shader uniform specified without name', u, this);
return;
}
+/*
if (!u.type) {
console.warn('Shader uniform specified without type', u, this);
return;
}
+*/
if (u.type == 'sampler2D') {
let imgasset = this.getAsset('image', u.value);
if (imgasset) {
-----END OF PAGE-----