auto-git:
[change] src/commands/commit-transform-session-command.ts
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user