-- 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: 1680343d08d5192011ac221381b4fea63b98b0c7:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 1680343d08d5192011ac221381b4fea63b98b0c7
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Mon Oct 3 22:23:45 2016 -0700

    Spotlights now use specified color

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

index 77cd1dae8f455d25bfea06bfc1b4442fcafa0102..

index ..5dade242d17d483f43c034f3040a889b9d114516 100644

--- a/scripts/januslight.js
+++ b/scripts/januslight.js
@@ -17,7 +17,7 @@ elation.require(['janusweb.janusbase'], function() {
         obj.add(this.light);
       } else if (this.light_cone_angle > 0) {
         var angle = Math.acos(this.light_cone_angle);
-        this.light = new THREE.SpotLight(0xff0000, this.light_intensity / 100, this.light_range, angle);
+        this.light = new THREE.SpotLight(this.properties.color, this.light_intensity / 100, this.light_range, angle);
         //this.light.position.set(0,0,0);
         obj.add(this.light);
       }

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

-- Response ended

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