fully implemented setting keyframes and standard values in the NodeParamView

Widget now supports creating keyframe and standard values, supports dragging
from sliders (not creating an undo command for each drag), and everything is
undoable.
This commit is contained in:
itsmattkc
2019-12-27 14:51:21 +11:00
parent 9272858de2
commit 855fe5e93f
9 changed files with 234 additions and 24 deletions
+5
View File
@@ -32,4 +32,9 @@ T lerp(T a, T b, double t) {
return (a * (1.0 - t)) + (b * t);
}
template<typename T>
T lerp(T a, T b, float t) {
return (a * (1.0f - t)) + (b * t);
}
#endif // LERP_H