mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
gfx-shader-param: Fix is_visible
This commit is contained in:
parent
3cd88abeae
commit
ce15bc6abc
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ const std::string& gfx::shader::parameter::get_key()
|
||||||
|
|
||||||
bool gfx::shader::parameter::is_visible()
|
bool gfx::shader::parameter::is_visible()
|
||||||
{
|
{
|
||||||
return true;
|
return _visible && !is_automatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool gfx::shader::parameter::is_automatic()
|
bool gfx::shader::parameter::is_automatic()
|
||||||
|
|
Loading…
Reference in a new issue