Merge pull request #3271 from twistedfall:ovis-build-fix

pull/3278/head
Alexander Alekhin 2 years ago
commit 98f6a2e554
  1. 3
      modules/ovis/src/ovis.cpp

@ -453,7 +453,8 @@ public:
if(tus->getTextureName() != name)
{
RTShader::ShaderGenerator::getSingleton().invalidateMaterial(
RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, *bgplane->getMaterial());
RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME, bgplane->getMaterial()->getName(),
RESOURCEGROUP_NAME);
tus->setTextureName(name);
tus->setTextureAddressingMode(TAM_CLAMP);

Loading…
Cancel
Save