Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4979aaf
)
Rollback montain
pre/penta18
V8_4_0a2
author
Anthony Geay
<anthony.geay@edf.fr>
Mon, 18 Sep 2017 11:56:46 +0000
(13:56 +0200)
committer
Paul RASCLE
<paul.rascle@edf.fr>
Tue, 19 Sep 2017 18:43:03 +0000
(20:43 +0200)
src/VTKViewer/VTKViewer_Texture.cxx
patch
|
blob
|
history
diff --git
a/src/VTKViewer/VTKViewer_Texture.cxx
b/src/VTKViewer/VTKViewer_Texture.cxx
index c6faba0b19e009aaeccf64bc1e0a7a1333969567..7b20cd5e167f49139a8eafb3db0d57712d8ab828 100644
(file)
--- a/
src/VTKViewer/VTKViewer_Texture.cxx
+++ b/
src/VTKViewer/VTKViewer_Texture.cxx
@@
-534,7
+534,7
@@
void VTKViewer_Texture::Load(vtkRenderer *ren)
// make sure using unsigned char data of color scalars type
if (this->IsDepthTexture != 1 &&
- (this->
ColorMod
e ||
+ (this->
MapColorScalarsThroughLookupTabl
e ||
scalars->GetDataType() != VTK_UNSIGNED_CHAR ))
{
dataPtr = this->MapScalarsToColors (scalars);