tahoma2d/toonz/sources/tnzext/StrokeDeformationAdapter.cpp

29 lines
527 B
C++
Raw Normal View History

2016-03-19 06:57:51 +13:00
#include "ext/StrokeDeformationAdapter.h"
ToonzExt::StrokeDeformationAdapter::StrokeDeformationAdapter()
: ref_(0)
{
}
ToonzExt::StrokeDeformationAdapter::~StrokeDeformationAdapter()
{
}
void ToonzExt::StrokeDeformationAdapter::changeDeformation(StrokeDeformation *new_deformation)
{
ref_ = new_deformation;
}
void ToonzExt::StrokeDeformationAdapter::setStrokeDeformation(StrokeDeformation *sd)
{
ref_ = sd;
}
ToonzExt::StrokeDeformation *
ToonzExt::StrokeDeformationAdapter::getStrokeDeformation()
{
return ref_;
}