auto-git:

[change] src/runtime-three/runtime-scene-build.ts
This commit is contained in:
2026-04-23 08:50:27 +02:00
parent 7c1b04578f
commit b8810206a5

View File

@@ -1624,11 +1624,20 @@ function buildRuntimeSceneCollections(
priority: entity.priority,
defaultActive: entity.defaultActive,
pathId: entity.pathId,
railPlacementMode: entity.railPlacementMode,
target: cloneCameraRigTargetRef(entity.target),
targetOffset: cloneVec3(entity.targetOffset),
transitionMode: entity.transitionMode,
transitionDurationSeconds: entity.transitionDurationSeconds,
lookAround: cloneCameraRigLookAroundSettings(entity.lookAround)
lookAround: cloneCameraRigLookAroundSettings(entity.lookAround),
...(entity.railPlacementMode === "mapTargetBetweenPoints"
? {
trackStartPoint: cloneVec3(entity.trackStartPoint),
trackEndPoint: cloneVec3(entity.trackEndPoint),
railStartProgress: entity.railStartProgress,
railEndProgress: entity.railEndProgress
}
: {})
}
);
break;