mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
22316: EDF 2719 SMESH: Split hexas into prisms
disable dialog if a mesh includes no hexahedra
This commit is contained in:
parent
67dba15dfd
commit
3f7c707fd9
@ -1698,6 +1698,7 @@ void SMESHGUI_SplitVolumesDlg::on3d2dChanged(int isPrism)
|
|||||||
}
|
}
|
||||||
SMESHGUI_MultiEditDlg::on3d2dChanged( !myEntityType );
|
SMESHGUI_MultiEditDlg::on3d2dChanged( !myEntityType );
|
||||||
myEntityType = 1; // == VOLUME
|
myEntityType = 1; // == VOLUME
|
||||||
|
onSelectionDone();
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
@ -1788,6 +1789,8 @@ void SMESHGUI_SplitVolumesDlg::onSelectionDone()
|
|||||||
}
|
}
|
||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
myCriterionGrp->setEnabled( !myMesh->_is_nil() && nbElemsInMesh() > 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user