Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8255b5e
)
IPAL 0051561: Hexotic algorithm fail
author
vsr
<vsr@opencascade.com>
Mon, 29 Oct 2012 13:36:13 +0000
(13:36 +0000)
committer
vsr
<vsr@opencascade.com>
Mon, 29 Oct 2012 13:36:13 +0000
(13:36 +0000)
Fix problem of Hexotic algo computation on 32bit platforms
src/DriverGMF/DriverGMF_Write.cxx
patch
|
blob
|
history
diff --git
a/src/DriverGMF/DriverGMF_Write.cxx
b/src/DriverGMF/DriverGMF_Write.cxx
index cdddd629d11af0c0ba9f1c03ccef63eb5b2f5d95..3e7e6fd870dfe2d656748c56db03e498cbf3988d 100644
(file)
--- a/
src/DriverGMF/DriverGMF_Write.cxx
+++ b/
src/DriverGMF/DriverGMF_Write.cxx
@@
-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 )