From b71cd7ab9a54fb90f59d3f82dc86add2675a2d27 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Tue, 13 Jan 2026 13:08:32 +0900 Subject: [PATCH] [backport core/1.36] fix: disable frustum culling for SkinnedMesh to prevent clipping during animation (#7988) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #7856 to `core/1.36` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7988-backport-core-1-36-fix-disable-frustum-culling-for-SkinnedMesh-to-prevent-clipping-dur-2e76d73d3650811c8f4bd904df44c9e7) by [Unito](https://www.unito.io) Co-authored-by: Terry Jia --- src/extensions/core/load3d/LoaderManager.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/extensions/core/load3d/LoaderManager.ts b/src/extensions/core/load3d/LoaderManager.ts index 8fbc31767..002601a70 100644 --- a/src/extensions/core/load3d/LoaderManager.ts +++ b/src/extensions/core/load3d/LoaderManager.ts @@ -160,6 +160,10 @@ export class LoaderManager implements LoaderManagerInterface { fbxModel.traverse((child) => { if (child instanceof THREE.Mesh) { this.modelManager.originalMaterials.set(child, child.material) + + if (child instanceof THREE.SkinnedMesh) { + child.frustumCulled = false + } } }) break @@ -203,6 +207,10 @@ export class LoaderManager implements LoaderManagerInterface { if (child instanceof THREE.Mesh) { child.geometry.computeVertexNormals() this.modelManager.originalMaterials.set(child, child.material) + + if (child instanceof THREE.SkinnedMesh) { + child.frustumCulled = false + } } }) break