diff options
author | Bottinator22 <59987380+Bottinator22@users.noreply.github.com> | 2024-12-29 12:23:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-29 12:23:26 -0800 |
commit | 9beadf3e2c6f06f43259e48629598fe77c365797 (patch) | |
tree | 1d705741e0039c4357dbb4c02f4810d88d7f3463 /assets/opensb/interface | |
parent | fbae5b2223c25f9e31cf190858e178e439ec6af2 (diff) |
oops
since my hhcolour shader (which doesn't have any parameters) was the first one in the list, it didn't need to load any parameters, which hid a bug that caused errors if the first shader in the menu had parameters
Diffstat (limited to 'assets/opensb/interface')
-rw-r--r-- | assets/opensb/interface/opensb/shaders/shaders.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/assets/opensb/interface/opensb/shaders/shaders.lua b/assets/opensb/interface/opensb/shaders/shaders.lua index 0c2d19c..f9b6a32 100644 --- a/assets/opensb/interface/opensb/shaders/shaders.lua +++ b/assets/opensb/interface/opensb/shaders/shaders.lua @@ -19,13 +19,6 @@ local widgetsToGroups = {} local allSettings = {} local shaderConfig -function displayed() - shaderConfig = root.getConfiguration("postProcessGroups") -end -function dismissed() - shaderConfig = nil -end - local function addGroupToList(data) local name = widget.addListItem(GROUP_LIST_WIDGET) widget.setText(fmt("%s.%s.button", GROUP_LIST_WIDGET, name), data.friendlyName) @@ -351,6 +344,7 @@ local function initCallbacks() end function init() + shaderConfig = root.getConfiguration("postProcessGroups") --log = chat and chat.addMessage or sb.logInfo widget.clearListItems(GROUP_LIST_WIDGET) |