Skip to content

Commit

Permalink
Merge branch 'vmtk:master' into ParameterSetCpp_SM3D
Browse files Browse the repository at this point in the history
  • Loading branch information
chir-set authored Nov 14, 2024
2 parents 3ec9bfa + 08f7d78 commit ebfab15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BranchClipper/qSlicerBranchClipperModuleWidget.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void qSlicerBranchClipperModuleWidget::onApply()
// Control branch model name.
std::string branchName = inputModelName + std::string("_Branch_") + std::to_string((int) i);
vtkMRMLNode * branchNode = this->mrmlScene()->AddNewNodeByClass("vtkMRMLModelNode");
if (not branchNode)
if (!branchNode)
{
cerr << "Could not add branch model: " << i << endl;
}
Expand Down

0 comments on commit ebfab15

Please sign in to comment.