From 5dc0fd02d23aeee3afdccdee2d2a9573e2d47706 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 11 May 2026 14:03:51 +0200 Subject: [PATCH] Initialize state drafts for trigger volume rotation and NPC scale --- src/app/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 8ae0a971..2739a888 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -3248,6 +3248,9 @@ export function App({ store, draftStorage = null, initialStatusMessage }: AppPro const [triggerVolumeSizeDraft, setTriggerVolumeSizeDraft] = useState( createVec3Draft(DEFAULT_TRIGGER_VOLUME_SIZE) ); + const [triggerVolumeRotationDraft, setTriggerVolumeRotationDraft] = useState( + createVec3Draft(DEFAULT_TRIGGER_VOLUME_ROTATION_DEGREES) + ); const [sceneEntryYawDraft, setSceneEntryYawDraft] = useState( String(DEFAULT_SCENE_ENTRY_YAW_DEGREES) ); @@ -3255,6 +3258,9 @@ export function App({ store, draftStorage = null, initialStatusMessage }: AppPro const [npcYawDraft, setNpcYawDraft] = useState( String(DEFAULT_NPC_YAW_DEGREES) ); + const [npcScaleDraft, setNpcScaleDraft] = useState( + createVec3Draft(DEFAULT_NPC_SCALE) + ); const [npcColliderModeDraft, setNpcColliderModeDraft] = useState(createNpcColliderSettings().mode); const [npcEyeHeightDraft, setNpcEyeHeightDraft] = useState(