re-added the button texture check before setting texture
This commit is contained in:
parent
76e794a543
commit
8b24d7e32b
|
@ -323,7 +323,7 @@ namespace SHADE
|
|||
//SHLOG_INFO("SETTING HOVERED TEXTURE")
|
||||
}
|
||||
}
|
||||
if (textureID != 0)
|
||||
if (textureID != 0 && comp.currentTexture != textureID)
|
||||
{
|
||||
auto material = renderable->GetModifiableMaterial();
|
||||
comp.currentTexture = textureID;
|
||||
|
|
Loading…
Reference in New Issue