mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 10:29:22 +00:00
Fix for recent build
This commit is contained in:
parent
70a1dcac62
commit
b16d82c1f5
4 changed files with 5 additions and 5 deletions
|
@ -39,7 +39,7 @@ namespace ml_lme
|
||||||
m_handRayLeft.generalMask = -269;
|
m_handRayLeft.generalMask = -269;
|
||||||
m_handRayLeft.isInteractionRay = true;
|
m_handRayLeft.isInteractionRay = true;
|
||||||
m_handRayLeft.triggerHoverEvents = false;
|
m_handRayLeft.triggerHoverEvents = false;
|
||||||
m_handRayLeft.holderRoot = m_handRayLeft.gameObject;
|
//m_handRayLeft.holderRoot = m_handRayLeft.gameObject;
|
||||||
m_handRayLeft.attachmentDistance = 0f;
|
m_handRayLeft.attachmentDistance = 0f;
|
||||||
m_handRayLeft.uiMask = 32;
|
m_handRayLeft.uiMask = 32;
|
||||||
m_handRayLeft.isDesktopRay = !m_inVR;
|
m_handRayLeft.isDesktopRay = !m_inVR;
|
||||||
|
@ -61,7 +61,7 @@ namespace ml_lme
|
||||||
m_handRayRight.generalMask = -269;
|
m_handRayRight.generalMask = -269;
|
||||||
m_handRayRight.isInteractionRay = true;
|
m_handRayRight.isInteractionRay = true;
|
||||||
m_handRayRight.triggerHoverEvents = false;
|
m_handRayRight.triggerHoverEvents = false;
|
||||||
m_handRayRight.holderRoot = m_handRayRight.gameObject;
|
//m_handRayRight.holderRoot = m_handRayRight.gameObject;
|
||||||
m_handRayRight.attachmentDistance = 0f;
|
m_handRayRight.attachmentDistance = 0f;
|
||||||
m_handRayRight.uiMask = 32;
|
m_handRayRight.uiMask = 32;
|
||||||
m_handRayRight.isDesktopRay = !m_inVR;
|
m_handRayRight.isDesktopRay = !m_inVR;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[assembly: MelonLoader.MelonInfo(typeof(ml_lme.LeapMotionExtension), "LeapMotionExtension", "1.6.0-u6", "SDraw", "https://github.com/SDraw/ml_mods_cvr")]
|
[assembly: MelonLoader.MelonInfo(typeof(ml_lme.LeapMotionExtension), "LeapMotionExtension", "1.6.1-u6", "SDraw", "https://github.com/SDraw/ml_mods_cvr")]
|
||||||
[assembly: MelonLoader.MelonGame(null, "ChilloutVR")]
|
[assembly: MelonLoader.MelonGame(null, "ChilloutVR")]
|
||||||
[assembly: MelonLoader.MelonOptionalDependencies("ml_pmc")]
|
[assembly: MelonLoader.MelonOptionalDependencies("ml_pmc")]
|
||||||
[assembly: MelonLoader.MelonPlatform(MelonLoader.MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
|
[assembly: MelonLoader.MelonPlatform(MelonLoader.MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<Platforms>x64</Platforms>
|
<Platforms>x64</Platforms>
|
||||||
<PackageId>LeapMotionExtension</PackageId>
|
<PackageId>LeapMotionExtension</PackageId>
|
||||||
<Version>1.6.0</Version>
|
<Version>1.6.1</Version>
|
||||||
<Authors>SDraw</Authors>
|
<Authors>SDraw</Authors>
|
||||||
<Company>SDraw</Company>
|
<Company>SDraw</Company>
|
||||||
<Product>LeapMotionExtension</Product>
|
<Product>LeapMotionExtension</Product>
|
||||||
|
|
|
@ -426,7 +426,7 @@ namespace ml_pam
|
||||||
|
|
||||||
void OnPickupGrab(CVRPickupObject p_pickup, Vector3 p_hit)
|
void OnPickupGrab(CVRPickupObject p_pickup, Vector3 p_hit)
|
||||||
{
|
{
|
||||||
if(p_pickup.IsGrabbedByMe && (p_pickup.ControllerRay == ViewManager.Instance.desktopControllerRay))
|
if(p_pickup.IsGrabbedByMe && (p_pickup.ControllerRay == PlayerSetup.Instance.desktopRay))
|
||||||
{
|
{
|
||||||
m_pickup = p_pickup;
|
m_pickup = p_pickup;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue