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
(parent:
6b1e25a
)
Fix crash in Filter_i::GetIDs() after Filter_i::SetMesh() function call
author
vsr
<vsr@opencascade.com>
Fri, 21 Aug 2009 09:22:45 +0000
(09:22 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 21 Aug 2009 09:22:45 +0000
(09:22 +0000)
src/SMESH_I/SMESH_Filter_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Filter_i.cxx
b/src/SMESH_I/SMESH_Filter_i.cxx
index 933239e59e64e2eb57be57092f5ec425a7f0aaa6..c75d81e8877cc7914074b69ddfb0e9a2746406d6 100644
(file)
--- a/
src/SMESH_I/SMESH_Filter_i.cxx
+++ b/
src/SMESH_I/SMESH_Filter_i.cxx
@@
-2099,7
+2099,7
@@
SetMesh( SMESH_Mesh_ptr theMesh )
if(!CORBA::is_nil(myMesh))
myMesh->Destroy();
- myMesh =
theMesh
;
+ myMesh =
SMESH_Mesh::_duplicate( theMesh )
;
TPythonDump()<<this<<".SetMesh("<<theMesh<<")";
}