render: avoid hashing null node
This commit is contained in:
@@ -370,11 +370,21 @@ Node *ViewerOutput::GetConnectedTextureOutput()
|
||||
return GetConnectedOutput(kTextureInput);
|
||||
}
|
||||
|
||||
Node::ValueHint ViewerOutput::GetConnectedTextureValueHint()
|
||||
{
|
||||
return GetValueHintForInput(kTextureInput);
|
||||
}
|
||||
|
||||
Node *ViewerOutput::GetConnectedSampleOutput()
|
||||
{
|
||||
return GetConnectedOutput(kSamplesInput);
|
||||
}
|
||||
|
||||
Node::ValueHint ViewerOutput::GetConnectedSampleValueHint()
|
||||
{
|
||||
return GetValueHintForInput(kSamplesInput);
|
||||
}
|
||||
|
||||
void ViewerOutput::InputValueChangedEvent(const QString &input, int element)
|
||||
{
|
||||
if (input == kAutoCacheInput) {
|
||||
|
||||
Reference in New Issue
Block a user