0030382: Draw Harness, ViewerTest - command vdir doesn't work anymore
authorkgv <kgv@opencascade.com>
Thu, 22 Nov 2018 19:51:37 +0000 (22:51 +0300)
committerkgv <kgv@opencascade.com>
Thu, 22 Nov 2018 20:14:52 +0000 (23:14 +0300)
src/ViewerTest/ViewerTest.cxx

index 1ac56e8..9e03442 100644 (file)
@@ -881,15 +881,10 @@ static int VDir (Draw_Interpretor& theDI,
                  Standard_Integer ,
                  const char** )
 {
                  Standard_Integer ,
                  const char** )
 {
-  if (!a3DView().IsNull())
-  {
-    return 0;
-  }
-
   for (ViewerTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName anIter (GetMapOfAIS());
        anIter.More(); anIter.Next())
   {
   for (ViewerTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName anIter (GetMapOfAIS());
        anIter.More(); anIter.Next())
   {
-    theDI << "\t" << anIter.Key2().ToCString() << "\n";
+    theDI << "\t" << anIter.Key2() << "\n";
   }
   return 0;
 }
   }
   return 0;
 }