projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022976: A draw-command CopyDF failes to copy content of a label
[occt.git]
/
src
/
DDF
/
DDF_DataCommands.cxx
diff --git
a/src/DDF/DDF_DataCommands.cxx
b/src/DDF/DDF_DataCommands.cxx
index
3dcda4b
..
1e2e1f3
100755
(executable)
--- 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->Add
Root
(Label1);
+ DataSet->Add
Label
(Label1);
TDF_ClosureTool::Closure(DataSet);
Handle(TDF_RelocationTable) Reloc = new TDF_RelocationTable();
Reloc->SetRelocation(Label1,Label2);