From d2f0eb8f21bad7641297364d5bc48ec27c90065b Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 16 Oct 2012 15:49:48 +0000 Subject: [PATCH] 0021915: [CEA 685] Remove Ascii from the STL file selection filter in the import STL file dialog box --- src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx | 4 ++++ src/DriverSTL/DriverSTL_W_SMDS_Mesh.cxx | 5 +++-- src/DriverSTL/Makefile.am | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) 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 = \ -- 2.30.2