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:
154ebdf
)
Fix bug in GUI
BR_Dev_For_6_3_1
V6_3_0
V6_3_0b2
V6_3_0rc1
author
gdd
<gdd>
Fri, 13 May 2011 13:43:14 +0000
(13:43 +0000)
committer
gdd
<gdd>
Fri, 13 May 2011 13:43:14 +0000
(13:43 +0000)
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
patch
|
blob
|
history
diff --git
a/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
b/src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
index 67f4e2b3aa8247b3035cffa200a8dc5b26168f3c..f5d8729c56ef109931251635618e060b007f7799 100644
(file)
--- a/
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
+++ b/
src/GUI/GHS3DPluginGUI_HypothesisCreator.cxx
@@
-701,12
+701,14
@@
bool GHS3DPluginGUI_HypothesisCreator::storeParamsToHypo( const GHS3DHypothesisD
// else {
// iterate over vertices of hypo
for(int i = 0 ; i <nbVertexHyp ; i++) {
+ if (vertexHyp[i].coords.length()) {
double x = vertexHyp[i].coords[0];
double y = vertexHyp[i].coords[1];
double z = vertexHyp[i].coords[2];
// vertex is removed
if (!smpVertexExists(x,y,z))
h->RemoveEnforcedVertex(x,y,z);
+ }
}
// }
}