mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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);
|
for (XSControl_WorkSessionMap::Iterator DicIt(DictWS);
|
||||||
DicIt.More(); DicIt.Next())
|
DicIt.More(); DicIt.Next())
|
||||||
{
|
{
|
||||||
Handle(XSControl_WorkSession) CurrentWS =
|
Handle(XSControl_WorkSession) CurrentWS = DicIt.Value();
|
||||||
Handle(XSControl_WorkSession)::DownCast(DicIt.Value());
|
|
||||||
XSDRAW::Pilot()->SetSession(CurrentWS);
|
XSDRAW::Pilot()->SetSession(CurrentWS);
|
||||||
theDI.Eval(command);
|
theDI.Eval(command);
|
||||||
}
|
}
|
||||||
|
@@ -25,7 +25,7 @@ Handle(XSControl_WorkSession) XSControl::Session
|
|||||||
Handle(XSControl_Vars) XSControl::Vars
|
Handle(XSControl_Vars) XSControl::Vars
|
||||||
(const Handle(IFSelect_SessionPilot)& pilot)
|
(const Handle(IFSelect_SessionPilot)& pilot)
|
||||||
{
|
{
|
||||||
Handle(XSControl_Vars) avars;
|
Handle(XSControl_Vars) avars = new XSControl_Vars;;
|
||||||
Handle(XSControl_WorkSession) WS = XSControl::Session(pilot);
|
Handle(XSControl_WorkSession) WS = XSControl::Session(pilot);
|
||||||
//if (!WS.IsNull()) avars = WS->Vars();
|
//if (!WS.IsNull()) avars = WS->Vars();
|
||||||
return avars;
|
return avars;
|
||||||
|
Reference in New Issue
Block a user