Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c52ecc7
)
debug
author
asl
<asl@opencascade.com>
Thu, 10 Dec 2009 13:34:45 +0000
(13:34 +0000)
committer
asl
<asl@opencascade.com>
Thu, 10 Dec 2009 13:34:45 +0000
(13:34 +0000)
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
b/src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
index 58441e0781d7ab64e4947ffbe95ab1a7642101a1..805cdae27c527bc6337655584bd667a5ded60c66 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
+++ b/
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.cxx
@@
-88,10
+88,11
@@
bool StdMeshersGUI_NbSegmentsCreator::checkParams( QString& msg, QStringList& ab
NbSegmentsHypothesisData data_old, data_new;
readParamsFromHypo( data_old );
readParamsFromWidgets( data_new );
- bool res = storeParamsToHypo( data_new );
- storeParamsToHypo( data_old );
+ bool res = true;
res = myNbSeg->isValid( msg, absentParams, true ) && res;
res = myScale->isValid( msg, absentParams, true ) && res;
+ res = res && storeParamsToHypo( data_new );
+ res = res && storeParamsToHypo( data_old );
return res;
}