Add clearModelInstances method to RuntimeHost

This commit is contained in:
2026-04-06 09:20:00 +02:00
parent 41feeb463e
commit 3191b2cefd

View File

@@ -592,7 +592,8 @@ export class RuntimeHost {
} }
this.brushMeshes.clear(); this.brushMeshes.clear();
this.volumeAnimatedMaterials.length = 0; this.volumeAnimatedMaterials.length = 0;
} { }
clearModelInstances() {
for (const mixer of this.animationMixers.values()) { for (const mixer of this.animationMixers.values()) {
mixer.stopAllAction(); mixer.stopAllAction();
} }