]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix the number of points (creation information)
authorskv <skv@opencascade.com>
Wed, 8 Oct 2014 10:06:49 +0000 (14:06 +0400)
committerskv <skv@opencascade.com>
Wed, 8 Oct 2014 10:06:49 +0000 (14:06 +0400)
src/GEOMImpl/GEOMImpl_PolylineDriver.cxx

index 632ba525d3feb7cb2a08f2e759e33466f267be00..1a996c1e514e19efea9155654dabffed4258a108 100644 (file)
@@ -373,7 +373,7 @@ GetCreationInformation(std::string&             theOperationName,
           aP2d.GetCoords(aCoords);
 
           if (aCoords.size() == 1) {
-            AddParam(theParams, "Number of points", aCoords.front().size());
+            AddParam(theParams, "Number of points", aCoords.front().size()/2);
           }
         } else {
           // There are more than 1 curve.