mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
Fix "Assign a set of hypotheses" on available hypotheses in create mesh dialog box
This commit is contained in:
parent
081f12102e
commit
1774f77443
@ -1503,7 +1503,7 @@ void SMESHGUI_MeshOp::onAlgoSelected( const int theIndex,
|
|||||||
if ( isAccessibleDim( aDim - 1 ) ) {
|
if ( isAccessibleDim( aDim - 1 ) ) {
|
||||||
if ( algoData && myIsOnGeometry ) {
|
if ( algoData && myIsOnGeometry ) {
|
||||||
for (int i = aDim - 1; i >= SMESH::DIM_0D; i--) {
|
for (int i = aDim - 1; i >= SMESH::DIM_0D; i--) {
|
||||||
if ( isAccessibleDim( i ) ) {
|
if ( isAccessibleDim( i ) && currentHyp( i, Algo ) < 0 ) {
|
||||||
myDlg->disableTab( i );
|
myDlg->disableTab( i );
|
||||||
setCurrentHyp(i, Algo, -1);
|
setCurrentHyp(i, Algo, -1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user