Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
23033: EDF 10568 SMESH: wrong header when exporting 2D to gmf
[modules/smesh.git]
/
src
/
DriverGMF
/
DriverGMF_Write.cxx
diff --git
a/src/DriverGMF/DriverGMF_Write.cxx
b/src/DriverGMF/DriverGMF_Write.cxx
index f2dc95be7181b7690b66a8accae4f44f9794dd04..158eea06760e45717a5bda9b7204e77f5be4dcf1 100644
(file)
--- a/
src/DriverGMF/DriverGMF_Write.cxx
+++ b/
src/DriverGMF/DriverGMF_Write.cxx
@@
-121,7
+121,7
@@
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(
double) < 8 ? 1 : 2
;
int meshID = GmfOpenMesh( myFile.c_str(), GmfWrite, version, dim );
if ( !meshID )