mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
// test changes
This commit is contained in:
@@ -214,8 +214,7 @@ static Standard_Integer FromShape(Draw_Interpretor& theDI,
|
||||
for (XSControl_WorkSessionMap::Iterator DicIt(DictWS);
|
||||
DicIt.More(); DicIt.Next())
|
||||
{
|
||||
Handle(XSControl_WorkSession) CurrentWS =
|
||||
Handle(XSControl_WorkSession)::DownCast(DicIt.Value());
|
||||
Handle(XSControl_WorkSession) CurrentWS = DicIt.Value();
|
||||
XSDRAW::Pilot()->SetSession(CurrentWS);
|
||||
theDI.Eval(command);
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ Handle(XSControl_WorkSession) XSControl::Session
|
||||
Handle(XSControl_Vars) XSControl::Vars
|
||||
(const Handle(IFSelect_SessionPilot)& pilot)
|
||||
{
|
||||
Handle(XSControl_Vars) avars;
|
||||
Handle(XSControl_Vars) avars = new XSControl_Vars;;
|
||||
Handle(XSControl_WorkSession) WS = XSControl::Session(pilot);
|
||||
//if (!WS.IsNull()) avars = WS->Vars();
|
||||
return avars;
|
||||
|
Reference in New Issue
Block a user