# v0.1.418 — Rotate UndoStack signature 확장 (TransformCommand rotation 추가)

- 버전: v0.1.418
- 날짜: 2026-05-26
- 다운로드: [factory00-windows-x64-v0.1.418.zip](../../downloads/factory00-windows-x64-v0.1.418.zip) (169 MB)
- 캡처: [qa-screenshots/v0.1.418/](../../qa-screenshots/v0.1.418/)

---

## 핵심 변경
### Rotate Undo fix (사용자 보고 v0.1.410: "Ctrl+Z 회전 Undo 안 된다")
| 영역 | 기존 | v0.1.418 |
|---|---|---|
| TransformCommand 필드 | List<Vector3> beforePos / afterPos | + List<Quaternion> beforeRot / afterRot |
| Execute / Undo | position만 적용 | position + rotation 양쪽 적용 |
| RuntimeGizmo OnDragEnded signature | Action<targets, beforePos, afterPos> | Action<targets, beforePos, afterPos, beforeRot, afterRot> |
| EndDrag changed 검증 | position diff만 | position OR rotation diff |
| Bootstrap subscriber | TransformCommand(targets, before, after) | + beforeRot/afterRot wrap |
### Description "이동" vs "회전" 분기
beforePos == null + beforeRot != null = Rotate 모드 → Description "회전: ..."
## 영향 파일
- Assets/Scripts/Game/Factory00Bootstrap.cs TransformCommand class — rotation 필드 + Execute/Undo 확장
- Assets/Scripts/Game/Factory00Bootstrap.cs OnDragEnded subscriber — 5인자 signature
- Assets/Scripts/Game/RuntimeGizmo.cs OnDragEnded signature — 5인자 확장
- Assets/Scripts/Game/RuntimeGizmo.cs EndDrag — rotation 변경 검증 추가
## 다음 자율 큐
사용자 추가 검증 응답 → 카메라 이동 시 모델 소멸 (near/far clipping).
