Explorar el Código

Fix ARVRAnchor and ARVRController error spam

(cherry picked from commit 3de3f87657be62965602c83e670c5b589cdfee3c)
qarmin hace 6 años
padre
commit
1f5f2d3ce8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      scene/3d/arvr_nodes.cpp

+ 2 - 2
scene/3d/arvr_nodes.cpp

@@ -376,7 +376,7 @@ String ARVRController::get_configuration_warning() const {
 };
 
 ARVRController::ARVRController() {
-	controller_id = 0;
+	controller_id = 1;
 	is_active = true;
 	button_states = 0;
 };
@@ -502,7 +502,7 @@ Plane ARVRAnchor::get_plane() const {
 };
 
 ARVRAnchor::ARVRAnchor() {
-	anchor_id = 0;
+	anchor_id = 1;
 	is_active = true;
 };