mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 02:10:36 +05:00
Fix the number of points (creation information)
This commit is contained in:
parent
2b4e071923
commit
049b05b6d1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user