Add clearModelInstances method to RuntimeHost
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user