diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-20 18:56:50 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-20 18:56:50 +1000 |
commit | 6e7c0498ef18ea558621eb7ca98f91122a55e6a6 (patch) | |
tree | e967d03fbd3222f21e102ec608dc42eb811a990f /source/client/StarClientApplication.cpp | |
parent | 0bb0bd30b00a8c9dd5ee6c0398908ba9d7f057ae (diff) |
Hook tile meshing up to Material Item drop and preview
Diffstat (limited to 'source/client/StarClientApplication.cpp')
-rw-r--r-- | source/client/StarClientApplication.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp index 995325e..19ea9e0 100644 --- a/source/client/StarClientApplication.cpp +++ b/source/client/StarClientApplication.cpp @@ -170,9 +170,9 @@ void ClientApplication::applicationInit(ApplicationControllerPtr appController) AudioFormat audioFormat = appController->enableAudio(); m_mainMixer = make_shared<MainMixer>(audioFormat.sampleRate, audioFormat.channels); - m_mainMixer->setVolume(0.5); + m_worldPainter = make_shared<WorldPainter>(); m_guiContext = make_shared<GuiContext>(m_mainMixer->mixer(), appController); m_input = make_shared<Input>(); m_voice = make_shared<Voice>(appController); @@ -644,7 +644,6 @@ void ClientApplication::changeState(MainAppState newState) { m_titleScreen->stopMusic(); - m_worldPainter = make_shared<WorldPainter>(); m_mainInterface = make_shared<MainInterface>(m_universeClient, m_worldPainter, m_cinematicOverlay); m_universeClient->setLuaCallbacks("interface", LuaBindings::makeInterfaceCallbacks(m_mainInterface.get())); m_universeClient->startLua(); |