repo: janusweb action: commit revision: path_from: revision_from: 00e881fcd4bad7288f39c4c7e28b2dc1cf96b567: path_to: revision_to:
commit 00e881fcd4bad7288f39c4c7e28b2dc1cf96b567 Author: James BaicoianuDate: Sun Sep 10 01:33:53 2023 -0700 Faster animation blend decay diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -1054,7 +1054,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
if (!this.fadetimers[clipname]) {
// FIXME - for some reason, THREE.AnimationAction.fadeIn() / fadeOut() / etc are just causing the animations to stop, so we'll handle fading ourselves
this.fadetimers[clipname] = setInterval(() => {
- oldaction.weight *= .95;
+ oldaction.weight *= .9;
if (oldaction.weight <= .001) {
oldaction.weight = 0;
oldaction.stop();
-----END OF PAGE-----