diff --git a/src/commands/commit-transform-session-command.ts b/src/commands/commit-transform-session-command.ts index bae5fe75..9227c0cd 100644 --- a/src/commands/commit-transform-session-command.ts +++ b/src/commands/commit-transform-session-command.ts @@ -112,10 +112,12 @@ function createUpdatedEntityFromPreview( position: preview.position }); case "cameraRig": - return createCameraRigEntity({ - ...entity, - position: preview.position - }); + return entity.rigType === "fixed" + ? createCameraRigEntity({ + ...entity, + position: preview.position + }) + : createCameraRigEntity(entity); case "spotLight": return createSpotLightEntity({ ...entity,