Skip to content

Commit

Permalink
ensure all Initialization paths listen for RiveFile delegates; Artboa…
Browse files Browse the repository at this point in the history
…rd file code cleanup
  • Loading branch information
schetle committed Jul 31, 2024
1 parent e52d7c4 commit 4b4529a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Rive/Private/Rive/RiveArtboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void URiveArtboard::BeginDestroy()
void URiveArtboard::AdvanceStateMachine(float InDeltaSeconds)
{
if (!RiveRenderTarget) return;

FRiveStateMachine* StateMachine = GetStateMachine();
if (StateMachine && StateMachine->IsValid())
{
Expand All @@ -53,7 +53,7 @@ void URiveArtboard::Transform(const FVector2f& One, const FVector2f& Two, const
{
return;
}

RiveRenderTarget->Transform(One.X, One.Y, Two.X, Two.Y, T.X, T.Y);
}

Expand Down

0 comments on commit 4b4529a

Please sign in to comment.