ported functions to new node type

This commit is contained in:
itsmattkc
2019-05-13 12:00:15 +10:00
parent f796c2b379
commit 49feb12999
53 changed files with 296 additions and 269 deletions
+17
View File
@@ -1207,3 +1207,20 @@ void KeyframeDataChange::doRedo()
done_ = true;
}
}
SetPointF::SetPointF(QPointF *pointer, const QPointF &old_val, const QPointF &new_val) :
pointer_(pointer),
old_val_(old_val),
new_val_(new_val)
{
}
void SetPointF::doUndo()
{
*pointer_ = old_val_;
}
void SetPointF::doRedo()
{
*pointer_ = new_val_;
}