From 9f446594d79a7aa69986b8dce78d0c0a7b38607e Mon Sep 17 00:00:00 2001 From: VRO <> Date: Wed, 22 Feb 2012 07:33:32 +0000 Subject: [PATCH] 0022976: A draw-command CopyDF failes to copy content of a label --- src/DDF/DDF_DataCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DDF/DDF_DataCommands.cxx b/src/DDF/DDF_DataCommands.cxx index 3dcda4bd1f..1e2e1f31f4 100755 --- a/src/DDF/DDF_DataCommands.cxx +++ b/src/DDF/DDF_DataCommands.cxx @@ -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);