Skip to content

Commit f271e94

Browse files
committed
Prevent ray from hiding on the device(hand) hosting the Annotation Tool UI
1 parent 9eeb439 commit f271e94

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tools/AnnotationTool/AnnotationTool.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,9 @@ void Start()
199199

200200
SetupPreferences();
201201

202-
this.AddRayVisibilitySettings(rayOrigin, this, false, false);
203-
204202
if (primary)
205203
{
204+
this.AddRayVisibilitySettings(rayOrigin, this, false, false);
206205
SetupBrushUI();
207206
HandleBrushSize(m_Preferences.brushSize);
208207

0 commit comments

Comments
 (0)