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
@@ -179,6 +179,11 @@ signals:
void KeyframeRemoved(NodeKeyframePtr key);
private:
/**
* @brief Returns whether a data type can be interpolated or not
*/
static bool type_can_be_interpolated(DataType type);
/**
* @brief We use Qt signals/slots for keyframe communication but store them as shared ptrs. This function converts
* a raw ptr to a list index