IPAL 0051561: Hexotic algorithm fail

Fix problem of Hexotic algo computation on 32bit platforms
This commit is contained in:
vsr 2012-10-29 13:36:13 +00:00
parent 8255b5e32f
commit c889773a15

View File

@ -66,7 +66,7 @@ DriverGMF_Write::~DriverGMF_Write()
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 );
if ( !meshID )