auto-git:

[change] src/commands/commit-transform-session-command.ts
This commit is contained in:
2026-04-22 18:11:01 +02:00
parent 2fe2d513ff
commit 3de97e0d46

View File

@@ -112,10 +112,12 @@ function createUpdatedEntityFromPreview(
position: preview.position position: preview.position
}); });
case "cameraRig": case "cameraRig":
return createCameraRigEntity({ return entity.rigType === "fixed"
...entity, ? createCameraRigEntity({
position: preview.position ...entity,
}); position: preview.position
})
: createCameraRigEntity(entity);
case "spotLight": case "spotLight":
return createSpotLightEntity({ return createSpotLightEntity({
...entity, ...entity,