Commit 62ab1089 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot
Browse files

Merge topic 'fix-opengl-polydata-mapper'

6ea19760

 Fix vtkOpenGLPolyDataMapper::GetNumberOfTextures()
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1885
parents 4ff021a8 6ea19760
Pipeline #23776 failed with stage
in 0 seconds
...@@ -399,7 +399,7 @@ bool vtkOpenGLPolyDataMapper::HaveTextures(vtkActor *actor) ...@@ -399,7 +399,7 @@ bool vtkOpenGLPolyDataMapper::HaveTextures(vtkActor *actor)
unsigned int vtkOpenGLPolyDataMapper::GetNumberOfTextures(vtkActor *actor) unsigned int vtkOpenGLPolyDataMapper::GetNumberOfTextures(vtkActor *actor)
{ {
unsigned int res = 0; unsigned int res = 0;
if (this->InternalColorTexture) if (this->ColorTextureMap)
{ {
res++; res++;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment