Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to paraview 5.4
[modules/gui.git]
/
src
/
GLViewer
/
GLViewer_Grid.cxx
diff --git
a/src/GLViewer/GLViewer_Grid.cxx
b/src/GLViewer/GLViewer_Grid.cxx
index cf94b8f3d13e947152f82372c1d39d4b6f19447e..33c9c10f91bd11fb806a90b46467a0f8810f4a3b 100644
(file)
--- a/
src/GLViewer/GLViewer_Grid.cxx
+++ b/
src/GLViewer/GLViewer_Grid.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-297,7
+297,7
@@
label:
{
glDeleteLists( myGridList, 1 );
if ( glGetError() != GL_NO_ERROR )
{
glDeleteLists( myGridList, 1 );
if ( glGetError() != GL_NO_ERROR )
- return
FALSE
;
+ return
false
;
}
float xLoc = (int)(myXPan / myXSize) * myXSize;
}
float xLoc = (int)(myXPan / myXSize) * myXSize;
@@
-348,5
+348,5
@@
label:
glEndList();
}
glEndList();
}
- return
TRUE
;
+ return
true
;
}
}