From: gdd Date: Wed, 8 Aug 2012 09:47:00 +0000 (+0000) Subject: 0021785: [CEA 619] impossible to add an enforced vertex by coords X-Git-Tag: V6_6_0a1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e305f449a82b0f953c508394f52d466633d888d1;p=plugins%2Fblsurfplugin.git 0021785: [CEA 619] impossible to add an enforced vertex by coords Coordinates of enforced vertex is now correctly added --- diff --git a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx index 3c6fd03..4884edf 100644 --- a/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx @@ -1386,7 +1386,7 @@ void BLSURFPluginGUI_HypothesisCreator::onAddEnforcedVertices() { if (boost::trim_copy(groupName).empty()) groupName = ""; - if (selEnfVertex == 1) + if (selEnfVertex <= 1) { double x,y,z; x = myXCoord->GetValue();