-- 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: 44bba407a436eafe0c79d93ceca0aa988cdb880f:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 44bba407a436eafe0c79d93ceca0aa988cdb880f
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Sep 10 01:32:32 2023 -0700

    Handle billboard="true"

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

index 56fdad51f3bd8b4e0922e97966c66f5bc9f5cc56..

index ..d504de8e912c4e58e558df9c33c48b173d89fe3f 100644

--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -796,7 +796,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
           }
           parent.worldToLocal(camera.getWorldPosition(playerpos)).sub(this.position);
           dir.copy(playerpos).normalize();
-          if (billboard == 'y') {
+          if (billboard == 'y' || billboard === true || billboard == 'true') {
             this.rotation.radians.set(0, Math.atan2(dir.x, dir.z), 0);
             this.frameupdates['rotation'] = true;
           }

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

-- Response ended

-- Page fetched on Sun Jun 2 17:36:35 2024