Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the problem: VTK Viewer isn?t updated automatically after activation of...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_InitMeshDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx
b/src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx
index ce686c62ad9a615fc61fdc959cfd3042edb19037..f3fbf92a725aea3562955acbdd1023b933802b07 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx
@@
-99,7
+99,7
@@
SMESHGUI_InitMeshDlg::SMESHGUI_InitMeshDlg (SMESHGUI* theModule, const char* nam
mySMESHGUI( theModule ),
mySelectionMgr( SMESH::GetSelectionMgr( theModule ) )
{
mySMESHGUI( theModule ),
mySelectionMgr( SMESH::GetSelectionMgr( theModule ) )
{
- QPixmap image0 (SMESH
GUI::resourceMgr(
)->loadPixmap("SMESH", tr("ICON_SELECT")));
+ QPixmap image0 (SMESH
::GetResourceMgr( mySMESHGUI
)->loadPixmap("SMESH", tr("ICON_SELECT")));
if (!name)
setName("SMESHGUI_InitMeshDlg");
if (!name)
setName("SMESHGUI_InitMeshDlg");
@@
-291,8
+291,8
@@
bool SMESHGUI_InitMeshDlg::ClickOnApply()
if (!aHyp->_is_nil()) {
if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
// abort transaction
if (!aHyp->_is_nil()) {
if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
// abort transaction
-
op->abort();
-
return false;
+
//
op->abort();
+
//
return false;
}
}
}
}
}
}
@@
-309,8
+309,8
@@
bool SMESHGUI_InitMeshDlg::ClickOnApply()
if (!aHyp->_is_nil()) {
if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
// abort transaction
if (!aHyp->_is_nil()) {
if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
// abort transaction
-
op->abort();
-
return false;
+
//
op->abort();
+
//
return false;
}
}
}
}
}
}