mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021979]: [ CEA 709 ] Import/export GMF should not take into account the locale to write/read numbers
+ Kernel_Utils::Localizer loc;
This commit is contained in:
parent
3ac36b919f
commit
ec887f7ffa
@ -30,6 +30,8 @@
|
|||||||
#include "SMESHDS_Mesh.hxx"
|
#include "SMESHDS_Mesh.hxx"
|
||||||
#include "SMESH_Comment.hxx"
|
#include "SMESH_Comment.hxx"
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#include "libmesh5.h"
|
#include "libmesh5.h"
|
||||||
@ -63,6 +65,8 @@ DriverGMF_Read::~DriverGMF_Read()
|
|||||||
|
|
||||||
Driver_Mesh::Status DriverGMF_Read::Perform()
|
Driver_Mesh::Status DriverGMF_Read::Perform()
|
||||||
{
|
{
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
Status status = DRS_OK;
|
Status status = DRS_OK;
|
||||||
|
|
||||||
int dim, version;
|
int dim, version;
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
#include "SMESHDS_Mesh.hxx"
|
#include "SMESHDS_Mesh.hxx"
|
||||||
#include "SMESH_Comment.hxx"
|
#include "SMESH_Comment.hxx"
|
||||||
|
|
||||||
|
#include <Basics_Utils.hxx>
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
#include "libmesh5.h"
|
#include "libmesh5.h"
|
||||||
@ -66,6 +68,8 @@ DriverGMF_Write::~DriverGMF_Write()
|
|||||||
|
|
||||||
Driver_Mesh::Status DriverGMF_Write::Perform()
|
Driver_Mesh::Status DriverGMF_Write::Perform()
|
||||||
{
|
{
|
||||||
|
Kernel_Utils::Localizer loc;
|
||||||
|
|
||||||
const int dim = 3, version = sizeof(long) == 4 ? 2 : 3;
|
const int dim = 3, version = sizeof(long) == 4 ? 2 : 3;
|
||||||
|
|
||||||
int meshID = GmfOpenMesh( myFile.c_str(), GmfWrite, version, dim );
|
int meshID = GmfOpenMesh( myFile.c_str(), GmfWrite, version, dim );
|
||||||
|
Loading…
Reference in New Issue
Block a user