From 832588c7a9edf3c1296d670bc092e28e39573814 Mon Sep 17 00:00:00 2001 From: Terry Jia Date: Mon, 5 Jan 2026 18:07:40 -0500 Subject: [PATCH] fix: continue rendering when 3D animation is playing (#7836) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Previously, the 3D viewer would pause rendering when the mouse left the node to save resources. This caused GLB/FBX animations to freeze when the user moved the mouse away, which was a poor user experience. Now the renderer stays active while an animation is playing, and only pauses when the animation is stopped. fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/7827 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7836-fix-continue-rendering-when-3D-animation-is-playing-2de6d73d365081a6a365f6c0ccfce7b4) by [Unito](https://www.unito.io) --- src/extensions/core/load3d/Load3d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extensions/core/load3d/Load3d.ts b/src/extensions/core/load3d/Load3d.ts index 410887afc..f17683b64 100644 --- a/src/extensions/core/load3d/Load3d.ts +++ b/src/extensions/core/load3d/Load3d.ts @@ -392,7 +392,8 @@ class Load3d { this.STATUS_MOUSE_ON_SCENE || this.STATUS_MOUSE_ON_VIEWER || this.isRecording() || - !this.INITIAL_RENDER_DONE + !this.INITIAL_RENDER_DONE || + this.animationManager.isAnimationPlaying ) }