1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00

Correcting erroneous results of merge

This commit is contained in:
vpa 2015-05-21 18:19:38 +03:00 committed by bugmaster
parent 37d6975c77
commit fb64064b00

View File

@ -2480,8 +2480,6 @@ static int VFit (Draw_Interpretor& /*theDi*/, Standard_Integer theArgc, const ch
}
const Handle(V3d_View) aView = ViewerTest::CurrentView();
<<<<<<< .mine
Handle(NIS_View) V = Handle(NIS_View)::DownCast (aView);
if (theArgc == 2)
{
@ -2489,32 +2487,12 @@ static int VFit (Draw_Interpretor& /*theDi*/, Standard_Integer theArgc, const ch
anArg.LowerCase();
if (anArg == "-selected")
{
ViewerTest::GetAISContext()->FitSelected (V.IsNull() ? aView : V);
ViewerTest::GetAISContext()->FitSelected (aView);
return 0;
}
}
if (aView.IsNull() == Standard_False) {
if (V.IsNull() == Standard_False) {
V->FitAll3d();
} else if (aView.IsNull() == Standard_False) {
=======
if (!aView.IsNull())
{
>>>>>>> .theirs
aView->FitAll();
}
return 0;