repo: janusweb
action: commit
revision: 
path_from: 
revision_from: f92786d4942553f3bb911d4350410f7151a80fe3:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit f92786d4942553f3bb911d4350410f7151a80fe3
Author: James Baicoianu 
Date:   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
index c9c5d26484afb99a92d856e54c7088b7b6075c3e..
index ..5bceedd59705b3865b53f1aa1aa1fd1d7f7838df 100644
--- 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-----