repo: janusweb action: commit revision: path_from: revision_from: f8b8e23806e82444f614617a039c09e834ce7f7a: path_to: revision_to:
commit f8b8e23806e82444f614617a039c09e834ce7f7a Author: James BaicoianuDate: Mon Nov 1 21:58:58 2021 -0700 Slower animation weight fading diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -1034,7 +1034,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 *= .9;
+ oldaction.weight *= .95;
if (oldaction.weight <= .001) {
oldaction.weight = 0;
oldaction.stop();
-----END OF PAGE-----