implement keyframe track separation in curve view
This commit is contained in:
@@ -338,6 +338,17 @@ public:
|
||||
return GetImmediate(element)->get_closest_keyframe_after_time(time);
|
||||
}
|
||||
|
||||
struct KeyframeTrackReference {
|
||||
NodeInput* input;
|
||||
int element;
|
||||
int track;
|
||||
|
||||
bool operator==(const KeyframeTrackReference& rhs) const
|
||||
{
|
||||
return input == rhs.input && element == rhs.element && track == rhs.track;
|
||||
}
|
||||
};
|
||||
|
||||
signals:
|
||||
void NameChanged(const QString& name);
|
||||
|
||||
@@ -471,6 +482,8 @@ private slots:
|
||||
|
||||
};
|
||||
|
||||
uint qHash(const NodeInput::KeyframeTrackReference& ref, uint seed = 0);
|
||||
|
||||
}
|
||||
|
||||
#endif // NODEINPUT_H
|
||||
|
||||
Reference in New Issue
Block a user