]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
0021785: [CEA 619] impossible to add an enforced vertex by coords
authorgdd <gdd>
Wed, 8 Aug 2012 09:47:00 +0000 (09:47 +0000)
committergdd <gdd>
Wed, 8 Aug 2012 09:47:00 +0000 (09:47 +0000)
Coordinates of enforced vertex is now correctly added

src/GUI/BLSURFPluginGUI_HypothesisCreator.cxx

index 3c6fd0384fffecc81d1b2c6793d2e4a36ac45212..4884edfc7f309793616b9d6359c573c86acf076e 100644 (file)
@@ -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();