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:
parent
c320e55791
commit
9f446594d7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user