Skip to content
Snippets Groups Projects
Commit dd981c74 authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

BUG: Fix textures when used with non PBR shading / flat, gourand, or phong

parent 9f998fdd
No related branches found
No related tags found
No related merge requests found
......@@ -609,9 +609,9 @@ VTKSurfaceMeshRenderDelegate::initializeTextures()
}
}
}
else
else if (texture->getType() == Texture::Type::Diffuse)
{
actor->GetProperty()->SetTexture(textureDelegate->getTextureName().c_str(), currentTexture);
actor->SetTexture(currentTexture);
}
currentUnit++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment