Add check for animation mixers in RuntimeHost
This commit is contained in:
@@ -1398,6 +1398,10 @@ export class RuntimeHost {
|
|||||||
.map((npc) => npc.entityId) ?? [];
|
.map((npc) => npc.entityId) ?? [];
|
||||||
|
|
||||||
for (const npcId of npcIds) {
|
for (const npcId of npcIds) {
|
||||||
|
if (!this.animationMixers.has(npcId)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (clipName === null) {
|
if (clipName === null) {
|
||||||
this.applyStopAnimationAction(npcId);
|
this.applyStopAnimationAction(npcId);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user