mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 01:46:27 +00:00
Added support for model skinning
This commit is contained in:
@@ -178,6 +178,14 @@ void CBasicViewport::contextMenuEvent(QContextMenuEvent *pEvent)
|
||||
pEvent->ignore();
|
||||
}
|
||||
|
||||
void CBasicViewport::SetShowFlag(EShowFlag Flag, bool Visible)
|
||||
{
|
||||
if (Visible)
|
||||
mViewInfo.ShowFlags |= Flag;
|
||||
else
|
||||
mViewInfo.ShowFlags &= ~Flag;
|
||||
}
|
||||
|
||||
void CBasicViewport::SetGameMode(bool Enabled)
|
||||
{
|
||||
mViewInfo.GameMode = Enabled;
|
||||
|
||||
Reference in New Issue
Block a user