mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Adjusted the popup issue fix to ensure nothing breaks in either regular or oculus mode.
This commit is contained in:
parent
f5d8de8c4d
commit
9368b7b915
4 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,8 @@
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
$GameCanvas = 0;
|
if($GameCanvas == OculusCanvas)
|
||||||
|
$GameCanvas = 0;
|
||||||
|
|
||||||
// Cleanup Dialog created by 'core'
|
// Cleanup Dialog created by 'core'
|
||||||
if( isObject( MessagePopupDlg ) )
|
if( isObject( MessagePopupDlg ) )
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,6 @@ function GameConnection::initialControlSet(%this)
|
||||||
{
|
{
|
||||||
if (Canvas.getContent() != PlayGui.getId())
|
if (Canvas.getContent() != PlayGui.getId())
|
||||||
Canvas.setContent(PlayGui);
|
Canvas.setContent(PlayGui);
|
||||||
$GameCanvas = Canvas;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
$GameCanvas = 0;
|
if($GameCanvas == OculusCanvas)
|
||||||
|
$GameCanvas = 0;
|
||||||
|
|
||||||
// Cleanup Dialog created by 'core'
|
// Cleanup Dialog created by 'core'
|
||||||
if( isObject( MessagePopupDlg ) )
|
if( isObject( MessagePopupDlg ) )
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ function GameConnection::initialControlSet(%this)
|
||||||
if (Canvas.getContent() != PlayGui.getId())
|
if (Canvas.getContent() != PlayGui.getId())
|
||||||
{
|
{
|
||||||
Canvas.setContent(PlayGui);
|
Canvas.setContent(PlayGui);
|
||||||
$GameCanvas = Canvas;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue