X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_PropagationHelperWdg.cxx;h=f7698b5b46ba177a368adb51d4d71d27fc6ab042;hp=617f5cbfa910903c57939c6150d2a6d9ff74e56c;hb=88141f757b048eaa5aae0be49faaf274448bbcaf;hpb=3369d458eaf2f08db6e32b75609679f06771a5cb diff --git a/src/StdMeshersGUI/StdMeshersGUI_PropagationHelperWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_PropagationHelperWdg.cxx index 617f5cbfa..f7698b5b4 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_PropagationHelperWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_PropagationHelperWdg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -219,7 +219,7 @@ bool StdMeshersGUI_PropagationHelperWdg::buildChains() // aPreviewActor holds a map od all sub-shapes of mainShape SMESH_PreviewActorsCollection* previewActor = mySubSelectWdg->GetActorCollection(); if ( !previewActor ) return false; - const QList& egdeIDs = previewActor->GetIndices(); + const QList& edgeIDs = previewActor->GetIndices(); // Make a 'map' of WIREs of EDGE with quadrilateral WIREs only @@ -277,11 +277,11 @@ bool StdMeshersGUI_PropagationHelperWdg::buildChains() TColStd_MapOfInteger shapeEdges; if ( !shape.IsSame( mainShape )) - for ( QList::const_iterator ieIt = egdeIDs.begin(); ieIt != egdeIDs.end(); ++ieIt ) + for ( QList::const_iterator ieIt = edgeIDs.begin(); ieIt != edgeIDs.end(); ++ieIt ) shapeEdges.Add( *ieIt ); // loop on all EDGEs in mainShape - for ( QList::const_iterator ieIt = egdeIDs.begin(); ieIt != egdeIDs.end(); ++ieIt ) + for ( QList::const_iterator ieIt = edgeIDs.begin(); ieIt != edgeIDs.end(); ++ieIt ) { if ( chainedEdges.Contains( *ieIt )) continue; @@ -329,7 +329,7 @@ bool StdMeshersGUI_PropagationHelperWdg::buildChains() if ( ch.size() < 2 ) myChains.pop_back(); } - } // loop on egdeIDs + } // loop on edgeIDs return !myChains.empty(); }