-- 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: 55f1145def921943f6a147c318e650e35afbbf15:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 55f1145def921943f6a147c318e650e35afbbf15
Author: Spyduck <flock.of.murkrows@gmail.com>
Date:   Tue Jul 7 05:16:55 2020 +0000

    fix emissive color

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

index f1f4808b6a26c1d9ecdce4f4af640873618a61df..

index ..1f13ab31aa25c9672c81953de115958bcef3b7ce 100644

--- a/scripts/object.js
+++ b/scripts/object.js
@@ -42,7 +42,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
         emissive_id: { type: 'string', set: this.updateMaterial, comment: 'Emissive map texture ID' },
         roughness_id: { type: 'string', set: this.updateMaterial, comment: 'Roughness map texture ID' },
         metalness_id: { type: 'string', set: this.updateMaterial, comment: 'Metalness map texture ID' },
-        emissive: { type: 'color', default: [0,0,0], set: this.updateMaterial, comment: 'Material emissive color' },
+        emissive: { type: 'color', default: null, set: this.updateMaterial, comment: 'Material emissive color' },
         emissive_intensity: { type: 'float', default: 1, set: this.updateMaterial, comment: 'Intensity of material emissive color' },
         roughness: { type: 'float', default: null, min: 0, max: 1, set: this.updateMaterial, comment: 'Material roughness value' },
         metalness: { type: 'float', default: null, set: this.updateMaterial, comment: 'Material metalness value' },

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

-- Response ended

-- Page fetched on Sun Jun 2 18:44:32 2024