Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarMainInterface.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 01:34:37 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 01:34:37 +1000
commit4c006afc94e4994f215eddaa35ee22358d963019 (patch)
tree3a87957beccc6f24ada1d76fb5969090ff883ca5 /source/frontend/StarMainInterface.cpp
parent59ab7dabe6b24fe998764f23d0da15aa7d4af3f9 (diff)
Add unused support for using the actual humanoid for armor preview
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r--source/frontend/StarMainInterface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp
index eb13a35..2664d2c 100644
--- a/source/frontend/StarMainInterface.cpp
+++ b/source/frontend/StarMainInterface.cpp
@@ -798,6 +798,8 @@ void MainInterface::renderInWorldElements() {
if (m_disableHud)
return;
+ m_guiContext->setDefaultFont();
+ m_guiContext->setFontProcessingDirectives("");
m_guiContext->setFontColor(Vec4B::filled(255));
m_questIndicatorPainter->render();
m_nameplatePainter->render();
@@ -808,6 +810,8 @@ void MainInterface::render() {
if (m_disableHud)
return;
+ m_guiContext->setDefaultFont();
+ m_guiContext->setFontProcessingDirectives("");
m_guiContext->setFontColor(Vec4B::filled(255));
renderBreath();
renderMessages();