disambiguated whether NodeParam::parent() would return a Node* or a QObject*
Old code assumes that a NodeParam's parent will always be a Node. The function has been separated off and tweaked in the event that this is not the case.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ NodeParam::Type NodeOutput::type()
|
||||
|
||||
QVariant NodeOutput::get_realtime_value()
|
||||
{
|
||||
QVariant v = parent()->Value(this);
|
||||
QVariant v = parentNode()->Value(this);
|
||||
|
||||
return v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user