mirror of
https://github.com/astromaddie/lambda1-vr.git
synced 2026-10-28 11:00:18 +01:00
Ensure menu displayed in front of player on start-up
This commit is contained in:
1 parent
3e966fe5a5
commit
c0b09aab2d
3 files changed
+5
-5
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.drbeef.lambda1vr"
|
||||
android:versionCode="31"
|
||||
android:versionName="1.6.1" android:installLocation="auto" >
|
||||
android:versionCode="32"
|
||||
android:versionName="1.6.2" android:installLocation="auto" >
|
||||
|
||||
<!-- Tell the system this app requires OpenGL ES 3.1. -->
|
||||
<uses-feature android:glEsVersion="0x00030001" android:required="true"/>
|
||||
|
||||
@@ -155,7 +155,7 @@ void VR_SetHMDOrientation(float pitch, float yaw, float roll)
|
||||
{
|
||||
VectorSet(hmdorientation, pitch, yaw, roll);
|
||||
|
||||
if (!VR_UseScreenLayer())
|
||||
if (!VR_UseScreenLayer() || playerYaw == -999.0)
|
||||
{
|
||||
playerYaw = yaw;
|
||||
}
|
||||
@@ -351,7 +351,7 @@ void initialize_gl4es();
|
||||
void VR_Init()
|
||||
{
|
||||
//Initialise all our variables
|
||||
playerYaw = 0.0f;
|
||||
playerYaw = -999.0f; // ensure we get the first player yaw once available
|
||||
showingScreenLayer = false;
|
||||
remote_movementSideways = 0.0f;
|
||||
remote_movementForward = 0.0f;
|
||||
|
||||
@@ -139,7 +139,7 @@ Q_buildcommit will identify this build as release or "notset"
|
||||
*/
|
||||
const char *Q_buildcommit( void )
|
||||
{
|
||||
return "Lambda1VR-v1.6.1";
|
||||
return "Lambda1VR-v1.6.2";
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user