Allow reading of empty buffers passed to a node as input

This commit is contained in:
WerWolv 2021-01-31 21:49:13 +01:00
parent 0ab565ab02
commit ee8e1996d9
1 changed files with 1 additions and 4 deletions

View File

@ -53,10 +53,7 @@ namespace hex::dp {
auto &outputData = attribute->getOutputData();
if (outputData.empty())
return { };
else
return outputData;
return outputData;
}
std::optional<u64> getIntegerOnInput(u32 index) {