Skip to content

Commit

Permalink
fix set editing sequence at index
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Feb 1, 2025
1 parent 9e293b4 commit f481bdd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Source/Module/modules/sequence/commands/SequenceCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,11 @@ void SequenceCommand::triggerInternal(int multiplexIndex)
{
if (actionType == SET_EDITING_SEQUENCE_AT)
{
if (Sequence* s = getLinkedTargetContainerAs<Sequence>(target, multiplexIndex))
if (ShapeShifterManager* sm = ShapeShifterManager::getInstanceWithoutCreating())
{
if (ShapeShifterManager* sm = ShapeShifterManager::getInstanceWithoutCreating())
if (TimeMachineView* se = sm->getContentForType<TimeMachineView>())
{
if (TimeMachineView* se = sm->getContentForType<TimeMachineView>())
{
se->setSequence(s);
}
se->setSequence(s);
}
}
}
Expand Down Expand Up @@ -257,6 +254,7 @@ void SequenceCommand::triggerInternal(int multiplexIndex)
}
}
}
break;
}
}

Expand Down

0 comments on commit f481bdd

Please sign in to comment.