added full rational class
This commit is contained in:
@@ -136,6 +136,11 @@ bool NodeIO::IsKeyframable()
|
||||
return keyframable_;
|
||||
}
|
||||
|
||||
QVariant NodeIO::GetValue()
|
||||
{
|
||||
return GetValueAt(0);
|
||||
}
|
||||
|
||||
QVariant NodeIO::GetValueAt(double timecode)
|
||||
{
|
||||
if (FieldCount() == 0) {
|
||||
@@ -147,6 +152,11 @@ QVariant NodeIO::GetValueAt(double timecode)
|
||||
return Field(0)->GetValueAt(timecode);
|
||||
}
|
||||
|
||||
void NodeIO::SetValue(const QVariant &value)
|
||||
{
|
||||
SetValueAt(0, value);
|
||||
}
|
||||
|
||||
void NodeIO::SetValueAt(double timecode, const QVariant &value)
|
||||
{
|
||||
if (FieldCount() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user