transform effect complete

This commit is contained in:
itsmattkc
2019-09-10 12:39:08 +10:00
parent 9ff4a81ec8
commit fc4ce3b26e
2 changed files with 17 additions and 1 deletions
+3
View File
@@ -95,6 +95,9 @@ QVariant TransformDistort::Value(NodeOutput *output, const rational &time)
// Scale
mat.scale(scale_input_->get_value(time).value<QVector2D>()*0.01f);
// Anchor Point
mat.translate(anchor_input_->get_value(time).value<QVector2D>() * 0.01f);
return mat;
}