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:
7cf31f4
)
22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape...
author
eap
<eap@opencascade.com>
Thu, 13 Mar 2014 17:57:29 +0000
(21:57 +0400)
committer
eap
<eap@opencascade.com>
Thu, 13 Mar 2014 17:57:29 +0000
(21:57 +0400)
Fix an introduced bug
src/SMESH_I/SMESH_Mesh_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Mesh_i.cxx
b/src/SMESH_I/SMESH_Mesh_i.cxx
index f2e1ca4c83c1494ddf71d2d2d2e78f79b2963c10..2b230a593d9dc5f9e1182fd31bdc8d88fef09bca 100644
(file)
--- a/
src/SMESH_I/SMESH_Mesh_i.cxx
+++ b/
src/SMESH_I/SMESH_Mesh_i.cxx
@@
-199,7
+199,8
@@
void SMESH_Mesh_i::SetShape( GEOM::GEOM_Object_ptr theShapeObject )
// to track changes of GEOM groups
SMESH::SMESH_Mesh_var mesh = _this();
addGeomGroupData( theShapeObject, mesh );
// to track changes of GEOM groups
SMESH::SMESH_Mesh_var mesh = _this();
addGeomGroupData( theShapeObject, mesh );
- _mainShapeTick = theShapeObject->GetTick();
+ if ( !CORBA::is_nil( theShapeObject ))
+ _mainShapeTick = theShapeObject->GetTick();
}
//================================================================================
}
//================================================================================