-- 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: e4f1c0fb7680cb842bb444243455c80ccc04c9e7:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit e4f1c0fb7680cb842bb444243455c80ccc04c9e7
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Jan 22 00:33:46 2017 -0800

    Fix scoping problem, revert to non-PBR materials for now

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

index 14f032f3e38f91f614e549525611d7813c5e6cc9..

index ..8ddb3540b5453af3b2806a5df346f8623a89f6ee 100644

--- a/scripts/object.js
+++ b/scripts/object.js
@@ -182,7 +182,8 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
           color = false,
           blend_src = false,
           blend_dest = false,
-          side = this.sidemap[this.properties.cull_face];
+          side = this.sidemap[this.properties.cull_face],
+          textureasset;

       this.textureNeedsUpdate = false;

@@ -327,7 +328,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
         }
         var m = new THREE.MultiMaterial(materials);
       } else {
-        var m = (this.properties.lighting != false ? new THREE.MeshPhysicalMaterial() : new THREE.MeshBasicMaterial());
+        var m = (this.properties.lighting != false ? new THREE.MeshPhongMaterial() : new THREE.MeshBasicMaterial());
         //var m = new THREE.MeshBasicMaterial();
         m.anisotropy = 16;
         m.name = oldmat.name;

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

-- Response ended

-- Page fetched on Sun Jun 2 14:28:27 2024