mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 15:00:34 +05:00
Bug IPAL21435 - TC5.1.3: incorrect mapping of the object from imported UNV file in the 3D Viewer
This commit is contained in:
parent
bfe976c58e
commit
ad1014d43c
@ -49,6 +49,7 @@ DriverUNV_R_SMDS_Mesh::~DriverUNV_R_SMDS_Mesh()
|
||||
|
||||
Driver_Mesh::Status DriverUNV_R_SMDS_Mesh::Perform()
|
||||
{
|
||||
UNV::Localizer loc;
|
||||
Status aResult = DRS_OK;
|
||||
std::ifstream in_stream(myFile.c_str());
|
||||
try{
|
||||
|
@ -57,6 +57,7 @@ namespace{
|
||||
|
||||
Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform()
|
||||
{
|
||||
UNV::Localizer loc;
|
||||
Status aResult = DRS_OK;
|
||||
std::ofstream out_stream(myFile.c_str());
|
||||
try{
|
||||
|
@ -35,6 +35,22 @@
|
||||
namespace UNV{
|
||||
using namespace std;
|
||||
|
||||
class MESHDRIVERUNV_EXPORT Localizer
|
||||
{
|
||||
public:
|
||||
Localizer()
|
||||
{
|
||||
myCurLocale = setlocale(LC_NUMERIC, 0);
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
}
|
||||
~Localizer()
|
||||
{
|
||||
setlocale(LC_NUMERIC, myCurLocale.c_str());
|
||||
}
|
||||
private:
|
||||
std::string myCurLocale;
|
||||
};
|
||||
|
||||
class MESHDRIVERUNV_EXPORT PrefixPrinter{
|
||||
static int myCounter;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user