-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: 5a8fb47ac7d3fdcd47bb2f08af9830d13e21305b:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 5a8fb47ac7d3fdcd47bb2f08af9830d13e21305b
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Dec 2 01:43:52 2018 -0800

    Allow texture with no image

diff --git a/scripts/object.js b/scripts/object.js

index fd5e9420b1998dea6347a91e7042052ed6dc1cd2..

index ..8097a6180dd2f737b6f2b84d0203b80e2e8ca122 100644

--- a/scripts/object.js
+++ b/scripts/object.js
@@ -421,7 +421,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
             if (color) {
               m.color = color;
             }
-            if (texture && texture.image) {
+            if (texture) {
               if (!color) m.color.setHex(0xffffff);
               m.map = texture;
               elation.events.add(texture, 'asset_update', (ev) => { m.map = ev.data; this.refresh(); });

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 19:04:37 2024