From b5791a973aad59d6311626c11882b5ce13ea92b0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 06:20:36 +0200 Subject: [PATCH] Add path control options to ProjectSequencesPanel --- src/app/ProjectSequencesPanel.tsx | 108 +++++++++++++++++++++++++++--- 1 file changed, 100 insertions(+), 8 deletions(-) diff --git a/src/app/ProjectSequencesPanel.tsx b/src/app/ProjectSequencesPanel.tsx index 351be75c..601e833d 100644 --- a/src/app/ProjectSequencesPanel.tsx +++ b/src/app/ProjectSequencesPanel.tsx @@ -91,6 +91,21 @@ interface ProjectSequencesPanelProps { stepIndex: number, loop: boolean ): void; + onSetControlStepPathId( + sequenceId: string, + stepIndex: number, + pathId: string + ): void; + onSetControlStepPathSpeed( + sequenceId: string, + stepIndex: number, + speed: number + ): void; + onSetControlStepPathLoop( + sequenceId: string, + stepIndex: number, + loop: boolean + ): void; onSetDialogueStepDialogueId( sequenceId: string, stepIndex: number, @@ -189,6 +204,9 @@ export function ProjectSequencesPanel({ onSetControlStepColorValue, onSetControlStepAnimationClip, onSetControlStepAnimationLoop, + onSetControlStepPathId, + onSetControlStepPathSpeed, + onSetControlStepPathLoop, onSetDialogueStepDialogueId, onSetTeleportStepTarget, onSetSceneTransitionStepTarget, @@ -444,7 +462,8 @@ export function ProjectSequencesPanel({ ) : null} - {effect.effect.type === "playModelAnimation" ? ( + {effect.effect.type === "playModelAnimation" || + effect.effect.type === "playActorAnimation" ? ( <> ) : null} + + {effect.effect.type === "followActorPath" ? ( + <> + + + + + ) : null} )}