Salome HOME
SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK)
[modules/smesh.git] / src / OBJECT / SMESH_ActorUtils.cxx
index fdaa86c251d9f09a99fa622439afb9f024c00a6a..7e71257b264a4ed94802014e0adc0f33d5ada02e 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "SMESH_ActorUtils.h"
 
-#include "QAD_Config.h"
+//#include "QAD_Config.h"
 #include "utilities.h"
 
 #include <vtkUnstructuredGrid.h>
@@ -36,9 +36,10 @@ namespace SMESH{
 
   float GetFloat(const QString& theValue, float theDefault){
     if(theValue.isEmpty()) return theDefault;
-    QString aValue = QAD_CONFIG->getSetting(theValue);
-    if(aValue.isEmpty()) return theDefault;
-    return aValue.toFloat();
+    //QString aValue = QAD_CONFIG->getSetting(theValue);
+    //if(aValue.isEmpty())
+      return theDefault;
+    //return aValue.toFloat();
   }
 
   void WriteUnstructuredGrid(vtkUnstructuredGrid* theGrid, const char* theFileName){