From fb64064b00f75443fe50ead1a3e0abd9a1fbdf6a Mon Sep 17 00:00:00 2001 From: vpa Date: Thu, 21 May 2015 18:19:38 +0300 Subject: [PATCH] Correcting erroneous results of merge --- src/ViewerTest/ViewerTest_ViewerCommands.cxx | 26 ++------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/src/ViewerTest/ViewerTest_ViewerCommands.cxx b/src/ViewerTest/ViewerTest_ViewerCommands.cxx index 732093e245..8275d2a58b 100644 --- a/src/ViewerTest/ViewerTest_ViewerCommands.cxx +++ b/src/ViewerTest/ViewerTest_ViewerCommands.cxx @@ -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; -- 2.20.1