mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +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);
|
aP2d.GetCoords(aCoords);
|
||||||
|
|
||||||
if (aCoords.size() == 1) {
|
if (aCoords.size() == 1) {
|
||||||
AddParam(theParams, "Number of points", aCoords.front().size());
|
AddParam(theParams, "Number of points", aCoords.front().size()/2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// There are more than 1 curve.
|
// There are more than 1 curve.
|
||||||
|
Loading…
Reference in New Issue
Block a user