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:
00c9fb5
)
prevent MakeMesh() from crash if myShapeIDMap.IsEmpty()
author
eap
<eap@opencascade.com>
Wed, 3 Mar 2010 13:58:32 +0000
(13:58 +0000)
committer
eap
<eap@opencascade.com>
Wed, 3 Mar 2010 13:58:32 +0000
(13:58 +0000)
src/SMESH/SMESH_Pattern.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_Pattern.cxx
b/src/SMESH/SMESH_Pattern.cxx
index 834003e8c8ed3573d75bc785b139aa9e5be108ea..da1c16c497f9065ee543c0518bda989beed7e8c7 100644
(file)
--- a/
src/SMESH/SMESH_Pattern.cxx
+++ b/
src/SMESH/SMESH_Pattern.cxx
@@
-3922,7
+3922,7
@@
bool SMESH_Pattern::MakeMesh(SMESH_Mesh* theMesh,
point->myXYZ.Z());
nodesVector [ pIndex ] = node;
- if (
true
/*subMeshDS*/ ) {
+ if (
!S.IsNull()
/*subMeshDS*/ ) {
// !!!!! do not merge new nodes with ones existing on submeshes (see method comment)
switch ( S.ShapeType() ) {
case TopAbs_VERTEX: {