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
Issue #2593: CEA 2018-2 Geometrical Naming
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_Validators.cpp
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
b/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
index b991e38f0b58914f2463c27ba09d21f9d4d5d4b9..0470dd73e7302a7f5588dd3a996063ab837c8865 100644
(file)
--- a/
src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
+++ b/
src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
@@
-474,6
+474,11
@@
bool FeaturesPlugin_ValidatorExtrusionDir::isValid(
if(aContext.get()) {
aDirShape = aContext->shape();
}
+
+ if (aDirShape.get() && aDirShape->isCompound()) {
+ GeomAPI_ShapeIterator anIt(aDirShape);
+ aDirShape = anIt.current();
+ }
}
}