Commit 6ea19760 authored by T.J. Corona's avatar T.J. Corona
Browse files

Fix vtkOpenGLPolyDataMapper::GetNumberOfTextures()

parent b4b6f29d
Pipeline #23703 passed with stage
......@@ -399,7 +399,7 @@ bool vtkOpenGLPolyDataMapper::HaveTextures(vtkActor *actor)
unsigned int vtkOpenGLPolyDataMapper::GetNumberOfTextures(vtkActor *actor)
{
unsigned int res = 0;
if (this->InternalColorTexture)
if (this->ColorTextureMap)
{
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