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:
67dba15
)
22316: EDF 2719 SMESH: Split hexas into prisms
author
eap
<eap@opencascade.com>
Tue, 21 Jan 2014 09:24:53 +0000
(09:24 +0000)
committer
eap
<eap@opencascade.com>
Tue, 21 Jan 2014 09:24:53 +0000
(09:24 +0000)
disable dialog if a mesh includes no hexahedra
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
index a252ce333238a2c3080adcea34843c64534c507b..a8682ee9581883b6bc93908dce1068e46ed4343f 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx
@@
-1698,6
+1698,7
@@
void SMESHGUI_SplitVolumesDlg::on3d2dChanged(int isPrism)
}
SMESHGUI_MultiEditDlg::on3d2dChanged( !myEntityType );
myEntityType = 1; // == VOLUME
+ onSelectionDone();
}
//================================================================================
@@
-1788,6
+1789,8
@@
void SMESHGUI_SplitVolumesDlg::onSelectionDone()
}
updateButtons();
}
+
+ myCriterionGrp->setEnabled( !myMesh->_is_nil() && nbElemsInMesh() > 0 );
}
//================================================================================