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:
cb136b9
)
22833: [CEA 1346] to extrude a group of faces following the normal of each face
author
eap
<eap@opencascade.com>
Wed, 28 Jan 2015 14:57:23 +0000
(17:57 +0300)
committer
eap
<eap@opencascade.com>
Wed, 28 Jan 2015 14:57:23 +0000
(17:57 +0300)
Fix SIGSEGV when no groups created
src/SMESH_I/SMESH_MeshEditor_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_MeshEditor_i.cxx
b/src/SMESH_I/SMESH_MeshEditor_i.cxx
index 39a9d25d6b2de158a2fd6682eaf690686e85b0e6..a753f0b59b70cf5b6e1613c7d8caae6d40272426 100644
(file)
--- a/
src/SMESH_I/SMESH_MeshEditor_i.cxx
+++ b/
src/SMESH_I/SMESH_MeshEditor_i.cxx
@@
-3126,7
+3126,7
@@
SMESH_MeshEditor_i::ExtrusionByNormal(SMESH::SMESH_IDSource_ptr object,
<< ", " << dim
<< " )";
}
<< ", " << dim
<< " )";
}
- return aGroups;
+ return aGroups
? aGroups : new SMESH::ListOfGroups
;
}
//=======================================================================
}
//=======================================================================