Salome HOME
23619: EDF 18055 - Detection of sharp edges (note 0022724)
authoreap <eap@opencascade.com>
Wed, 5 Dec 2018 12:05:57 +0000 (15:05 +0300)
committereap <eap@opencascade.com>
Wed, 5 Dec 2018 12:05:57 +0000 (15:05 +0300)
src/SMESH_I/SMESH_Mesh_i.cxx

index 4c5291c..802186a 100644 (file)
@@ -1923,7 +1923,7 @@ SMESH_Mesh_i::FaceGroupsSeparatedByEdges( CORBA::Double  theSharpAngle,
   std::vector< std::vector< const SMDS_MeshElement* > > faceGroups =
     SMESH_MeshAlgos::SeparateFacesByEdges( meshDS, edges );
 
-  SMESH::SMESH_MeshEditor_var( GetMeshEditor() ); // create _editor
+  SMESH::SMESH_MeshEditor_var editor = GetMeshEditor(); // create _editor
 
   resultGroups->length( faceGroups.size() );
   for ( size_t iG = 0; iG < faceGroups.size(); ++iG )