Commit 0981d341 authored by Jan Kremer's avatar Jan Kremer

Fixed invert mode two clip planes

parent 70b4444f
......@@ -75,6 +75,7 @@ DoubleClickTime=0.200000
+ActionMappings=(ActionName="Invert",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Right_FaceButton2)
+ActionMappings=(ActionName="ToggleAdditive",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Left_Trigger)
+ActionMappings=(ActionName="ToggleInverted",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Right_Trigger)
+ActionMappings=(ActionName="NonVR_TogglePointing",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Backslash)
+AxisMappings=(AxisName="NonVR_MoveX",Scale=1.000000,Key=W)
+AxisMappings=(AxisName="NonVR_MoveY",Scale=-1.000000,Key=A)
+AxisMappings=(AxisName="NonVR_Turn",Scale=1.000000,Key=MouseX)
......
No preview for this file type
......@@ -72,6 +72,7 @@ ActionMappings=(ActionName="Reset",bShift=False,bCtrl=False,bAlt=False,bCmd=Fals
ActionMappings=(ActionName="Invert",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Right_FaceButton2)
ActionMappings=(ActionName="ToggleAdditive",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Left_Trigger)
ActionMappings=(ActionName="ToggleInverted",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=MotionController_Right_Trigger)
ActionMappings=(ActionName="NonVR_TogglePointing",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Backslash)
AxisMappings=(AxisName="NonVR_MoveX",Scale=1.000000,Key=W)
AxisMappings=(AxisName="NonVR_MoveY",Scale=-1.000000,Key=A)
AxisMappings=(AxisName="NonVR_Turn",Scale=1.000000,Key=MouseX)
......
This diff is collapsed.
......@@ -50,4 +50,12 @@ bHQBuffer=False
bHQDistortion=False
bUpdateOnRT=True
[WindowsApplication.Accessibility]
StickyKeysHotkey=True
ToggleKeysHotkey=True
FilterKeysHotkey=True
StickyKeysConfirmation=True
ToggleKeysConfirmation=True
FilterKeysConfirmation=True
......@@ -268,14 +268,24 @@ void UDataComponent::AddFilter_Planes(FVector NormalRight, FVector LocationRight
if (Invert)
{
if (DotRight >= 0.f && (DotLeft >= 0.f || !UseTwoPlanes))
if (!UseTwoPlanes)
{
Indexes[CurrIdx] = CurrIdx;
if (DotRight >= 0.f)
{
Indexes[CurrIdx] = CurrIdx;
}
}
else
{
if (!(DotRight <= 0.f && DotLeft >= 0.f))
{
Indexes[CurrIdx] = CurrIdx;
}
}
}
else
{
if (DotRight <= 0.f && (DotLeft <= 0.f || !UseTwoPlanes))
if (DotRight <= 0.f && (DotLeft >= 0.f || !UseTwoPlanes))
{
Indexes[CurrIdx] = CurrIdx;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment