From ee8fe20f75a0769787c42f7e090b4ef945ec83c9 Mon Sep 17 00:00:00 2001 From: Mike Nisbet Date: Wed, 10 Apr 2024 08:58:54 +0100 Subject: [PATCH] Allow generation of sphere with gesture on mobile (#678) --- Assets/Scripts/PointerManager.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Assets/Scripts/PointerManager.cs b/Assets/Scripts/PointerManager.cs index 7daa121504..0a706691a0 100644 --- a/Assets/Scripts/PointerManager.cs +++ b/Assets/Scripts/PointerManager.cs @@ -1243,16 +1243,7 @@ void CheckGestures() nextShape = StraightEdgeGuideScript.Shape.Circle; break; case StraightEdgeGuideScript.Shape.Circle: - { - if (App.Config.IsMobileHardware) - { - nextShape = StraightEdgeGuideScript.Shape.Line; - } - else - { - nextShape = StraightEdgeGuideScript.Shape.Sphere; - } - } + nextShape = StraightEdgeGuideScript.Shape.Sphere; break; case StraightEdgeGuideScript.Shape.Sphere: nextShape = StraightEdgeGuideScript.Shape.Line;