0030382: Draw Harness, ViewerTest - command vdir doesn't work anymore
[occt.git] / src / ViewerTest / ViewerTest.cxx
index 1ac56e8..9e03442 100644 (file)
@@ -881,15 +881,10 @@ static int VDir (Draw_Interpretor& theDI,
                  Standard_Integer ,
                  const char** )
 {
-  if (!a3DView().IsNull())
-  {
-    return 0;
-  }
-
   for (ViewerTest_DoubleMapIteratorOfDoubleMapOfInteractiveAndName anIter (GetMapOfAIS());
        anIter.More(); anIter.Next())
   {
-    theDI << "\t" << anIter.Key2().ToCString() << "\n";
+    theDI << "\t" << anIter.Key2() << "\n";
   }
   return 0;
 }