From 2f0d5a01f94c63276ee6503b465ad1eb03e2d8d5 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 07:25:58 +0200 Subject: [PATCH] Remove unused presence effect handling in ProjectSchedulePane.tsx --- src/app/ProjectSchedulePane.tsx | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/app/ProjectSchedulePane.tsx b/src/app/ProjectSchedulePane.tsx index e6e3d054..6a42d168 100644 --- a/src/app/ProjectSchedulePane.tsx +++ b/src/app/ProjectSchedulePane.tsx @@ -315,10 +315,6 @@ function getRoutineSummary( const heldSteps = getProjectScheduleRoutineHeldSteps(routine, sequences); if (routine.target.kind === "actor") { - const presenceEffect = findHeldSequenceControlEffect( - heldSteps, - "setActorPresence" - ); const animationEffect = findHeldSequenceControlEffect( heldSteps, "playActorAnimation" @@ -328,8 +324,6 @@ function getRoutineSummary( "followActorPath" ); - summaryParts.push(presenceEffect?.active === false ? "Hidden" : "Present"); - if (animationEffect !== null) { summaryParts.push(formatControlEffectValue(animationEffect)); } @@ -358,9 +352,7 @@ function isRoutineEffectInactive( const heldSteps = getProjectScheduleRoutineHeldSteps(routine, sequences); if (routine.target.kind === "actor") { - return ( - findHeldSequenceControlEffect(heldSteps, "setActorPresence")?.active === false - ); + return false; } const effect = @@ -893,17 +885,16 @@ export function ProjectSequencerPane({ {selectedAttachedSequence !== null ? (
- This placement resolves held effects from{" "} - {selectedAttachedSequence.title}. - Edit animation, path, presence, lighting, or other held + This placement runs {selectedAttachedSequence.title}. + Edit animation, path, lighting, audio, dialogue, or other engine effects in the Sequence Editor.
) : null} {selectedRoutine.sequenceId === null ? (
{selectedRoutine.target.kind === "global" - ? "Project event placements run attached sequences only. Create a sequence with impulse effects like scene transitions, dialogue starts, or teleports." - : "This placement has no attached sequence yet. Create one, then author presence, animation, path, lighting, sound, or other engine effects inside the Sequence Editor."} + ? "Project event placements run attached sequences only. Create a sequence with start effects like scene transitions, dialogue starts, or teleports." + : "This placement has no attached sequence yet. Create one, then author animation, path, lighting, sound, dialogue, or other engine effects inside the Sequence Editor."}
) : null}