Bug in ConfigureTracking(...)

Feb 22, 2015 at 4:15 PM
Hi, just found one more :)

In Hmd.cs you have:
public bool ConfigureTracking(OVR.TrackingCaps supportedTrackingCaps, OculusWrap.OVR.TrackingCaps requiredTrackingCaps)
        {
            byte result = OVR.ovrHmd_ConfigureTracking(HmdPtr, OVR.TrackingCaps.ovrTrackingCap_Position | OVR.TrackingCaps.ovrTrackingCap_Orientation | OVR.TrackingCaps.ovrTrackingCap_MagYawCorrection | OVR.TrackingCaps.ovrTrackingCap_Idle, OVR.TrackingCaps.None);
                    
            return result == 1;
        }
but it should be:
public bool ConfigureTracking(OVR.TrackingCaps supportedTrackingCaps, OculusWrap.OVR.TrackingCaps requiredTrackingCaps)
        {
            
            byte result = OVR.ovrHmd_ConfigureTracking(HmdPtr, supportedTrackingCaps, requiredTrackingCaps);
            
            return result == 1;
        }
All best
Coordinator
Feb 23, 2015 at 3:02 PM
Thanks for reporting this.

This is clearly an error!
Marked as answer by MortInfinite on 3/21/2015 at 11:53 PM