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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user