auto-git:
[change] src/app/App.tsx [change] src/document/migrate-scene-document.ts [change] src/document/scene-document-validation.ts [change] src/rendering/world-background-renderer.ts [change] src/rendering/world-shader-sky.ts [change] tests/domain/scene-document-validation.test.ts
This commit is contained in:
@@ -3374,7 +3374,10 @@ function readCameraRigEntity(value: unknown, label: string): EntityInstance {
|
||||
trackStartPoint:
|
||||
value.trackStartPoint === undefined
|
||||
? undefined
|
||||
: readVec3(value.trackStartPoint, `${label}.trackStartPoint`),
|
||||
: readVec3(
|
||||
value.trackStartPoint,
|
||||
`${label}.trackStartPoint`
|
||||
),
|
||||
trackEndPoint:
|
||||
value.trackEndPoint === undefined
|
||||
? undefined
|
||||
|
||||
@@ -3878,7 +3878,10 @@ function validateCameraRigControlTarget(
|
||||
return;
|
||||
}
|
||||
|
||||
if (targetEntity.kind !== target.entityKind || targetEntity.kind !== "cameraRig") {
|
||||
if (
|
||||
targetEntity.kind !== target.entityKind ||
|
||||
targetEntity.kind !== "cameraRig"
|
||||
) {
|
||||
diagnostics.push(
|
||||
createDiagnostic(
|
||||
"error",
|
||||
|
||||
Reference in New Issue
Block a user