mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0030493: Draw, ViewerTest - minor improvement of vdisplay command
vdisplay no longer opens BREP file in case if Draw variable is not found. Draw::Get() unused Complain argument has been removed from method definition. Added Draw::GetExisting() and DBRep::GetExisting() commands never performing picking.
This commit is contained in:
@@ -132,7 +132,7 @@ static Standard_Integer DNaming_TCopyShape (Draw_Interpretor& di,
|
||||
DNaming_DataMapIteratorOfDataMapOfShapeOfName itrn(aDMapOfShapeOfName);
|
||||
for(;itrn.More();itrn.Next()) {
|
||||
TCollection_AsciiString name = itrn.Value();
|
||||
const TopoDS_Shape& Result = TR.Copied(itrn.Key());
|
||||
const TopoDS_Shape Result = TR.Copied(itrn.Key());
|
||||
DBRep::Set(name.ToCString(), Result);
|
||||
di.AppendElement(name.ToCString());
|
||||
}
|
||||
|
Reference in New Issue
Block a user