feat(skin manager): add elytra preview
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
1c20faccf8
commit
64ef14100d
8 changed files with 85 additions and 11 deletions
|
@ -263,3 +263,8 @@ void SkinOpenGLWindow::wheelEvent(QWheelEvent* event)
|
|||
m_distance = qMax(16.f, m_distance); // Clamp distance
|
||||
update(); // Trigger a repaint
|
||||
}
|
||||
void SkinOpenGLWindow::setElytraVisible(bool visible)
|
||||
{
|
||||
if (m_scene)
|
||||
m_scene->setElytraVisible(visible);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue