auto-git:

[change] src/entities/entity-instances.ts
This commit is contained in:
2026-04-22 18:06:31 +02:00
parent ba1ba6eb87
commit 04ba622dbe

View File

@@ -869,7 +869,12 @@ export function resolveCameraRigDocumentTargetPosition(
}
case "entity": {
const entity = entities[target.entityId] ?? null;
return entity === null ? null : cloneVec3(entity.position);
if (entity === null || entity.kind === "cameraRig") {
return null;
}
return cloneVec3(entity.position);
}
case "worldPoint":
return cloneVec3(target.point);