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 #1942: group - names are empty strings
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_MakeShape.cpp
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp
b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp
index 14b3bcb3886369a8c31335f3ff2089ef3f25e2a5..dad018f0cee8d427301db1e382540b5df2e37a49 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp
@@
-238,12
+238,13
@@
bool GeomAlgoAPI_MakeShape::checkValid(std::string theMessage){
for(TopExp_Explorer anExp(aTopoDSShape,TopAbs_SOLID); anExp.More(); anExp.Next()) {
aNbVolumes ++;
}
for(TopExp_Explorer anExp(aTopoDSShape,TopAbs_SOLID); anExp.More(); anExp.Next()) {
aNbVolumes ++;
}
-
+
if (aNbVolumes != 1) {
if (aNbVolumes != 1) {
- myError = theMessage + " :: connexity error, the resulting shape is made of several separate solids.";
+ myError = theMessage +
+ " :: connexity error, the resulting shape is made of several separate solids.";
return false;
}
return false;
}
-
+
return true ;
}
return true ;
}
-
+