Browse Source

replace tabs with x4 spaces per PR specs

Kevin Abellan 6 years ago
parent
commit
3af39ab3bd
1 changed files with 9 additions and 9 deletions
  1. 9 9
      tutorials/vr/vr_starter_tutorial.rst

+ 9 - 9
tutorials/vr/vr_starter_tutorial.rst

@@ -377,15 +377,15 @@ Add the following to ``VR_Controller.gd``:
         
         
         # If the menu button is pressed...
-	if button_index == 1:
-		if grab_mode == "AREA":
-			grab_mode = "RAYCAST"
-			
-			if held_object == null:
-				grab_raycast.visible = true
-		elif grab_mode == "RAYCAST":
-			grab_mode = "AREA"
-			grab_raycast.visible = false
+        if button_index == 1:
+            if grab_mode == "AREA":
+                grab_mode = "RAYCAST"
+                
+                if held_object == null:
+                    grab_raycast.visible = true
+            elif grab_mode == "RAYCAST":
+                grab_mode = "AREA"
+                grab_raycast.visible = false
 
 
     func button_released(button_index):