blob: 322cb736454068a6dc77fdde4bb4e7db129841b8 [file] [log] [blame]
#include "rive/animation/nested_linear_animation.hpp"
#include "rive/animation/linear_animation_instance.hpp"
using namespace rive;
NestedLinearAnimation::~NestedLinearAnimation() { delete m_AnimationInstance; }
void NestedLinearAnimation::initializeAnimation(Artboard* artboard)
{
assert(m_AnimationInstance == nullptr);
m_AnimationInstance =
new LinearAnimationInstance(artboard->animation(animationId()));
}