From: vsr Date: Tue, 16 Oct 2012 15:49:48 +0000 (+0000) Subject: 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import... X-Git-Tag: V6_6_0a1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2f0eb8f21bad7641297364d5bc48ec27c90065b;p=modules%2Fsmesh.git 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box --- diff --git a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx index 2687363db..e5d260feb 100644 --- a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx +++ b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx @@ -22,6 +22,8 @@ #include #include +#include + //======================================================================= //function : HashCode //purpose : @@ -104,6 +106,8 @@ void DriverSTL_R_SMDS_Mesh::SetIsCreateFaces( const bool theIsCreate ) Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform() { + Kernel_Utils::Localizer loc; + Status aResult = DRS_OK; TCollection_AsciiString aFileName( (char *)myFile.c_str() ); diff --git a/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx b/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx index e4e270042..cf893a327 100644 --- a/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx +++ b/src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx @@ -35,12 +35,11 @@ #include "SMESH_TypeDefs.hxx" #include -//#include #include #include -//#include #include #include +#include #include "utilities.h" @@ -59,6 +58,8 @@ void DriverSTL_W_SMDS_Mesh::SetIsAscii( const bool theIsAscii ) Driver_Mesh::Status DriverSTL_W_SMDS_Mesh::Perform() { + Kernel_Utils::Localizer loc; + Status aResult = DRS_OK; if ( !myMesh ) { diff --git a/src/DriverSTL/Makefile.am b/src/DriverSTL/Makefile.am index 426538639..709da5f90 100644 --- a/src/DriverSTL/Makefile.am +++ b/src/DriverSTL/Makefile.am @@ -60,6 +60,7 @@ libMeshDriverSTL_la_CPPFLAGS = \ libMeshDriverSTL_la_LDFLAGS = \ ../Driver/libMeshDriver.la \ ../SMDS/libSMDS.la \ + $(KERNEL_LDFLAGS) -lSALOMEBasics \ $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh STL_Test_CPPFLAGS = \