Salome HOME
projects
/
plugins
/
ghs3dplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64592a0
)
Fix a problem with the restoring enforced vertices and enforced meshes
author
rnv
<rnv@opencascade.com>
Tue, 15 Dec 2015 14:46:05 +0000
(17:46 +0300)
committer
rnv
<rnv@opencascade.com>
Tue, 15 Dec 2015 14:46:05 +0000
(17:46 +0300)
src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
patch
|
blob
|
history
diff --git
a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
index d7a7b852333801b11ecf04b9d5c25c4977d4ed76..c4c99012c93d1d5fd239a1bdd633d64f594f3014 100644
(file)
--- a/
src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
+++ b/
src/GHS3DPlugin/GHS3DPlugin_Hypothesis.cxx
@@
-1252,9
+1252,11
@@
std::istream & GHS3DPlugin_Hypothesis::LoadFrom(std::istream & load)
bool hasCoords = false;
isOK = (load >> txt); // __BEGIN_VERTEX__
while (isOK) {
- if (txt == "__ENFORCED_VERTICES_END__")
- isOK = false;
-
+ if (txt == "__ENFORCED_VERTICES_END__") {
+ //isOK = false;
+ break;
+ }
+
TGHS3DEnforcedVertex *enfVertex = new TGHS3DEnforcedVertex();
while (isOK) {
isOK = (load >> txt);