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
Provide On Plane filter and reading of validators for filters GUI definition
[modules/shaper.git]
/
src
/
GeomValidators
/
GeomValidators_ShapeType.cpp
diff --git
a/src/GeomValidators/GeomValidators_ShapeType.cpp
b/src/GeomValidators/GeomValidators_ShapeType.cpp
index 44d9fe27f3730a391fdfc9ba1609d46cc8084bb8..963f53c9a12cc8851eae20fac69e1af0cd8aba68 100644
(file)
--- a/
src/GeomValidators/GeomValidators_ShapeType.cpp
+++ b/
src/GeomValidators/GeomValidators_ShapeType.cpp
@@
-293,6
+293,9
@@
bool GeomValidators_ShapeType::isValidShape(const GeomShapePtr theShape,
case Shell:
aValid = theShape->shapeType() == GeomAPI_Shape::SHELL;
break;
+ case Plane:
+ aValid = theShape->isPlanar();
+ break;
case Solid:
aValid = theShape->isSolid() || theShape->isCompSolid() ||
theShape->isCompoundOfSolids();