Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855ee33
)
Fix of 0022478: EDF GEOM [XAO] : Bad display of integer fields
author
akl
<akl@opencascade.com>
Wed, 12 Feb 2014 13:28:23 +0000
(17:28 +0400)
committer
akl
<akl@opencascade.com>
Wed, 12 Feb 2014 13:28:23 +0000
(17:28 +0400)
src/GEOMGUI/GEOM_Displayer.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOM_Displayer.cxx
b/src/GEOMGUI/GEOM_Displayer.cxx
index c205a850532920d96fa162f92388a9cab6f4568e..c01aa0e5c84c5394d811b2e0664494b706291f2e 100644
(file)
--- a/
src/GEOMGUI/GEOM_Displayer.cxx
+++ b/
src/GEOMGUI/GEOM_Displayer.cxx
@@
-2570,8
+2570,8
@@
QList<QVariant> GEOM_Displayer::groupFieldData( const QList<QVariant>& theFieldS
}
else
{
- if( aVariant.type() == QVariant::
Int
)
- aValue = double( aVariant.to
Int
() );
+ if( aVariant.type() == QVariant::
LongLong
)
+ aValue = double( aVariant.to
LongLong
() );
else if( aVariant.type() == QVariant::Double )
aValue = aVariant.toDouble();
aNorm += aValue * aValue;