]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 4c5291cb13d39253ffde2291006932d8ef3cc15b..802186aab106fbe5927e3a90d2d6bad42bf1192c 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 )