-- 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: 96075709f3720e68c34612c62d72bc11e6f655c2: path_to: revision_to:
commit 96075709f3720e68c34612c62d72bc11e6f655c2 Author: James Baicoianu <james_github@baicoianu.com> Date: Sun Oct 31 02:01:47 2021 -0700 Fixed anim_id race condition diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js +++ b/scripts/object.js @@ -334,6 +334,13 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() { if (modelasset.animations) { this.initAnimations(modelasset.animations); + if (this.anim_id) { + if (modelasset && modelasset.loaded) { + this.setAnimation(this.anim_id); + } else { + elation.events.add(modelasset, 'asset_load', () => this.setAnimation(this.anim_id)); + } + } } }
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 18:29:20 2024