mirror of https://github.com/Xaymar/obs-StreamFX
gfx-shader-param: Fix is_visible
This commit is contained in:
parent
3cd88abeae
commit
ce15bc6abc
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue