]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Adjust to last CONVERTOR modifications
authorapo <apo@opencascade.com>
Thu, 24 Nov 2005 07:08:16 +0000 (07:08 +0000)
committerapo <apo@opencascade.com>
Thu, 24 Nov 2005 07:08:16 +0000 (07:08 +0000)
src/CONVERTOR/VISUConvertor.cxx

index 19852fc01acf942ed7b4e853fbfdbaf1c105b43f..273b62a8554cff3e323e2aa28dda5a1e9e13591d 100644 (file)
@@ -46,7 +46,7 @@ static int MYDEBUG = 1;
 static int MYDEBUG = 0;
 #endif
 
-#define _DEXCEPT_
+//#define _DEXCEPT_
 
 typedef vtkUnstructuredGrid TOutput;
 
@@ -59,8 +59,11 @@ void parseFile(const char* theFileName)
     auto_ptr<VISU_Convertor> aCon(CreateConvertor(theFileName));
     //aCon->GetSize();
     //return;
+    aCon->BuildEntities();
+    aCon->BuildFields();
+    aCon->BuildMinMax();
     const VISU::TMeshMap& aMeshMap = aCon->GetMeshMap();
-    return;
+    //return;
     VISU::TMeshMap::const_iterator aMeshMapIter = aMeshMap.begin();
     for(; aMeshMapIter != aMeshMap.end(); aMeshMapIter++){
       //continue;
@@ -109,7 +112,7 @@ void parseFile(const char* theFileName)
              }
              */
            }
-           goto OK;
+           //goto OK;
          }
        }
       }