gfx-shader-param: Fix is_visible

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-12-25 20:10:09 +01:00
parent 3cd88abeae
commit ce15bc6abc

View file

@ -202,7 +202,7 @@ const std::string& gfx::shader::parameter::get_key()
bool gfx::shader::parameter::is_visible()
{
return true;
return _visible && !is_automatic();
}
bool gfx::shader::parameter::is_automatic()