Skip to content
Snippets Groups Projects
Commit 31310227 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

ENH: Set texture repeat mode to off by default

parent a4cac529
No related branches found
No related tags found
No related merge requests found
......@@ -51,5 +51,6 @@ VTKTextureDelegate::loadTexture(std::shared_ptr<Texture> texture)
m_sourceTexture = vtkSmartPointer<vtkTexture>::New();
m_sourceTexture->SetInputConnection(imgReader->GetOutputPort());
m_sourceTexture->SetBlendingMode(vtkTexture::VTK_TEXTURE_BLENDING_MODE_ADD);
m_sourceTexture->RepeatOff();
}
}
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