X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_SubShapeSelectorWdg.cxx;h=8c2240803cd2f493ca37e0d90c9524a86efa4bd6;hb=43db13f33a1d75fae36db8f06fa378ed7906a332;hp=80259747bf3876b0b240a01bc1beb36308892124;hpb=e062bbd05514787b430741e6a4739e35b9531f75;p=modules%2Fsmesh.git diff --git a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx index 80259747b..8c2240803 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2012 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 @@ -556,7 +556,7 @@ const char* StdMeshersGUI_SubShapeSelectorWdg::GetMainShapeEntry() //================================================================================= // function : GetCorrectedListOfIds -// purpose : Called to convert the list of IDs from subshape IDs to main shape IDs +// purpose : Called to convert the list of IDs from sub-shape IDs to main shape IDs //================================================================================= QList StdMeshersGUI_SubShapeSelectorWdg::GetCorrectedListOfIDs( bool fromSubshapeToMainshape ) { @@ -571,7 +571,7 @@ QList StdMeshersGUI_SubShapeSelectorWdg::GetCorrectedListOfIDs( bool fromSu TopExp::MapShapes(myGeomShape, aGeomMap); TopExp::MapShapes(myMainShape, aMainMap); - if ( fromSubshapeToMainshape ) { // convert indexes from subshape to mainshape + if ( fromSubshapeToMainshape ) { // convert indexes from sub-shape to mainshape int size = myListOfIDs.size(); for (int i = 0; i < size; i++) { TopoDS_Shape aSubShape = aGeomMap.FindKey( myListOfIDs.at(i) ); @@ -579,7 +579,7 @@ QList StdMeshersGUI_SubShapeSelectorWdg::GetCorrectedListOfIDs( bool fromSu aList.append( index ); } myIsNotCorrected = false; - } else { // convert indexes from main shape to subshape + } else { // convert indexes from main shape to sub-shape int size = mySelectedIDs.size(); for (int i = 0; i < size; i++) { TopoDS_Shape aSubShape = aMainMap.FindKey( mySelectedIDs.at(i) );