tahoma2d/toonz/sources/tnzext/StrokeDeformationAdapter.cpp
2016-06-15 15:43:10 +09:00

22 lines
537 B
C++

#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_;
}