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 (from parent 1:
38ef3e3
)
0022364: EDF SMESH: Create Mesh dialog box improvement: hide inapplicable algorithms...
author
imn
<imn@opencascade.com>
Fri, 14 Mar 2014 15:07:24 +0000
(19:07 +0400)
committer
imn
<imn@opencascade.com>
Fri, 14 Mar 2014 15:07:24 +0000
(19:07 +0400)
Small fix
src/SMESHGUI/SMESHGUI_MeshOp.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshOp.cxx
b/src/SMESHGUI/SMESHGUI_MeshOp.cxx
index 5a3702c6438178afd84ee654d72abf7175c01c52..05dd010c275bd9a2a0cb0311d96baf2150f464b4 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshOp.cxx
@@
-2689,9
+2689,8
@@
void SMESHGUI_MeshOp::setFilteredAlgoData( const int theTabIndex, const int theI
setCurrentHyp( dim, Algo, -1 );
}
setCurrentHyp( dim, Algo, -1 );
}
- int aMaxShapeDim = ( myMaxShapeDim != aDim) ? aDim : myMaxShapeDim;
if ( isNone || isReqDisBound ) {
if ( isNone || isReqDisBound ) {
- for ( int i = SMESH::DIM_0D; i <=
a
MaxShapeDim; i++ ) {
+ for ( int i = SMESH::DIM_0D; i <=
my
MaxShapeDim; i++ ) {
if ( aDim != i ) {
myDlg->disableTab( i );
setCurrentHyp(i, Algo, -1);
if ( aDim != i ) {
myDlg->disableTab( i );
setCurrentHyp(i, Algo, -1);
@@
-2733,7
+2732,7
@@
void SMESHGUI_MeshOp::setFilteredAlgoData( const int theTabIndex, const int theI
isAvailable = false;
if ( HypothesisData* algoDataIn = SMESH::GetHypothesisData( currentHypoSet->current() ))
{
isAvailable = false;
if ( HypothesisData* algoDataIn = SMESH::GetHypothesisData( currentHypoSet->current() ))
{
- for (int i = SMESH::DIM_0D; i <=
SMESH::DIM_3D
; i++)
+ for (int i = SMESH::DIM_0D; i <=
myMaxShapeDim
; i++)
{
for (int j = 0; j < myAvailableHypData[i][Algo].count(); ++j) {
HypothesisData* aCurAlgo = hypData( i, Algo, j );
{
for (int j = 0; j < myAvailableHypData[i][Algo].count(); ++j) {
HypothesisData* aCurAlgo = hypData( i, Algo, j );