1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024822: Solve selection fails after copying

The method ::Paste() copies myIndex now.
Test case for issue CR24822
This commit is contained in:
vro
2014-04-17 16:18:38 +04:00
committed by apn
parent 46aed280cc
commit f18ccc8cd6
2 changed files with 26 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ TopAbs_ShapeEnum TNaming_Name::ShapeType() const
}
//=======================================================================
//function : Append
//function : Paste
//purpose :
//=======================================================================
@@ -317,7 +317,8 @@ void TNaming_Name::Paste (TNaming_Name& into,
{
into.myType = myType;
into.myShapeType = myShapeType;
into.myShape = myShape;
into.myShape = myShape;
into.myIndex = myIndex;
into.myArgs.Clear();
// into.myOrientation = myOrientation;
Handle(TNaming_NamedShape) NS;