1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0022976: A draw-command CopyDF failes to copy content of a label

This commit is contained in:
VRO 2012-02-22 07:33:32 +00:00 committed by bugmaster
parent c320e55791
commit 9f446594d7

View File

@ -144,7 +144,7 @@ static Standard_Integer CopyDF (Draw_Interpretor& /*di*/,
Handle(TDF_DataSet) DataSet = new TDF_DataSet;
DataSet->AddRoot(Label1);
DataSet->AddLabel(Label1);
TDF_ClosureTool::Closure(DataSet);
Handle(TDF_RelocationTable) Reloc = new TDF_RelocationTable();
Reloc->SetRelocation(Label1,Label2);