Gui: PR6497 move return statement to new line

This commit is contained in:
Chris Hennes
2022-03-29 12:33:50 -05:00
parent f7edc74eee
commit 5df3dbae6f
57 changed files with 352 additions and 169 deletions

View File

@@ -94,7 +94,8 @@ void ViewProviderInventorObject::updateData(const App::Property* prop)
SoInput in;
std::string buffer = ivObj->Buffer.getValue();
coinRemoveAllChildren(pcBuffer);
if (buffer.empty()) return;
if (buffer.empty())
return;
in.setBuffer((void *)buffer.c_str(), buffer.size());
SoSeparator * node = SoDB::readAll(&in);
if (node) {