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
1 changed files with 1 additions and 1 deletions

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()