mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-02 11:05:15 +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.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$GameCanvas = 0;
|
||||
if($GameCanvas == OculusCanvas)
|
||||
$GameCanvas = 0;
|
||||
|
||||
// Cleanup Dialog created by 'core'
|
||||
if( isObject( MessagePopupDlg ) )
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ function GameConnection::initialControlSet(%this)
|
|||
{
|
||||
if (Canvas.getContent() != PlayGui.getId())
|
||||
Canvas.setContent(PlayGui);
|
||||
$GameCanvas = Canvas;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
$GameCanvas = 0;
|
||||
if($GameCanvas == OculusCanvas)
|
||||
$GameCanvas = 0;
|
||||
|
||||
// Cleanup Dialog created by 'core'
|
||||
if( isObject( MessagePopupDlg ) )
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ function GameConnection::initialControlSet(%this)
|
|||
if (Canvas.getContent() != PlayGui.getId())
|
||||
{
|
||||
Canvas.setContent(PlayGui);
|
||||
$GameCanvas = Canvas;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue