diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-19 19:08:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-19 19:08:59 +1100 |
commit | 63903276e5e1c3f96629d87cdaab9e868368b343 (patch) | |
tree | e335b36c27fba80e56605b95e6fd3f4993bd6f58 /source/frontend/StarMainInterface.cpp | |
parent | 2bf5be1af36fa53fc686bb893dc97e5ed10ddaa4 (diff) | |
parent | 300b8f2dbae631fdddeafaee683f450418e5cc57 (diff) |
Merge pull request #157 from Bottinator22/main
Allow post process shaders to be grouped up and enabled/disabled via Lua or a shaders menu
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 41eceb7..8468f7f 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -117,7 +117,7 @@ MainInterface::MainInterface(UniverseClientPtr client, WorldPainterPtr painter, m_codexInterface = make_shared<CodexInterface>(m_client->mainPlayer()); m_paneManager.registerPane(MainInterfacePanes::Codex, PaneLayer::Window, m_codexInterface); - m_optionsMenu = make_shared<OptionsMenu>(&m_paneManager); + m_optionsMenu = make_shared<OptionsMenu>(&m_paneManager,m_client); m_paneManager.registerPane(MainInterfacePanes::Options, PaneLayer::ModalWindow, m_optionsMenu); m_popupInterface = make_shared<PopupInterface>(); @@ -1604,4 +1604,4 @@ void MainInterface::displayScriptPane(ScriptPanePtr& scriptPane, EntityId source } } -}
\ No newline at end of file +} |