fixed various caching issues when rapidly changing values
This commit is contained in:
+7
-1
@@ -46,7 +46,7 @@ QVariant NodeOutput::get_value(const rational& time)
|
||||
{
|
||||
QVariant v;
|
||||
|
||||
if (time_ != time) {
|
||||
if (time_ != time || !value_caching_) {
|
||||
// Update the value
|
||||
value_ = parent()->Run(this, time);
|
||||
|
||||
@@ -58,3 +58,9 @@ QVariant NodeOutput::get_value(const rational& time)
|
||||
return v;
|
||||
}
|
||||
|
||||
void NodeOutput::push_value(const QVariant &v, const rational &time)
|
||||
{
|
||||
value_ = v;
|
||||
time_ = time;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user