From 08f7d7867d37c097aabe1299f328b1c0f5f52838 Mon Sep 17 00:00:00 2001 From: Saleem Edah-Tally Date: Thu, 14 Nov 2024 17:44:02 +0100 Subject: [PATCH] Fix syntax preventing MSBuild. (not branchNode) -> (!branchNode) --- BranchClipper/qSlicerBranchClipperModuleWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BranchClipper/qSlicerBranchClipperModuleWidget.cxx b/BranchClipper/qSlicerBranchClipperModuleWidget.cxx index 992100e..cd5147f 100644 --- a/BranchClipper/qSlicerBranchClipperModuleWidget.cxx +++ b/BranchClipper/qSlicerBranchClipperModuleWidget.cxx @@ -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; }