mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 02:50:34 +05:00
IPAL 0051561: Hexotic algorithm fail
Fix problem of Hexotic algo computation on 32bit platforms
This commit is contained in:
parent
8255b5e32f
commit
c889773a15
@ -66,7 +66,7 @@ DriverGMF_Write::~DriverGMF_Write()
|
|||||||
|
|
||||||
Driver_Mesh::Status DriverGMF_Write::Perform()
|
Driver_Mesh::Status DriverGMF_Write::Perform()
|
||||||
{
|
{
|
||||||
const int dim = 3, version = 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 );
|
||||||
if ( !meshID )
|
if ( !meshID )
|
||||||
|
Loading…
Reference in New Issue
Block a user