Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Task 2.12. New entities: ellipses and arcs of ellipses (issue #3003)
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_Validators.cpp
diff --git
a/src/PartSet/PartSet_Validators.cpp
b/src/PartSet/PartSet_Validators.cpp
index 4b72de19888a5286ef2696dc4b2e3c3a50581179..0b5a42bd5e9613775ef46c7f02a74037bec0a1fa 100644
(file)
--- a/
src/PartSet/PartSet_Validators.cpp
+++ b/
src/PartSet/PartSet_Validators.cpp
@@
-335,12
+335,12
@@
bool PartSet_EqualSelection::isValid(const ModuleBase_ISelection* theSelection,
aType = 1;
else if (aType != 1)
return false;
aType = 1;
else if (aType != 1)
return false;
- } else if (aEdge.isCircle()) {
+ } else if (aEdge.isCircle()
|| aEdge.isArc()
) {
if (aCount == 1)
aType = 2;
else if (aType != 2)
return false;
if (aCount == 1)
aType = 2;
else if (aType != 2)
return false;
- } else if (aEdge.is
Arc
()) {
+ } else if (aEdge.is
Ellipse
()) {
if (aCount == 1)
aType = 3;
else if (aType != 3)
if (aCount == 1)
aType = 3;
else if (aType != 3)