added custom debug handler
This commit is contained in:
@@ -59,6 +59,8 @@ void NodeOutput::set_data_type(const NodeParam::DataType &type)
|
||||
|
||||
QVariant NodeOutput::get_value(const rational& time)
|
||||
{
|
||||
mutex_.lock();
|
||||
|
||||
QVariant v;
|
||||
|
||||
if (time_ != time || !value_caching_) {
|
||||
@@ -70,6 +72,8 @@ QVariant NodeOutput::get_value(const rational& time)
|
||||
|
||||
v = value_;
|
||||
|
||||
mutex_.unlock();
|
||||
|
||||
return v;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user