瀏覽代碼

Fix ARVRAnchor and ARVRController error spam

qarmin 6 年之前
父節點
當前提交
3de3f87657
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      scene/3d/arvr_nodes.cpp

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

@@ -390,7 +390,7 @@ String ARVRController::get_configuration_warning() const {
 };
 
 ARVRController::ARVRController() {
-	controller_id = 0;
+	controller_id = 1;
 	is_active = true;
 	button_states = 0;
 };
@@ -530,7 +530,7 @@ Ref<Mesh> ARVRAnchor::get_mesh() const {
 }
 
 ARVRAnchor::ARVRAnchor() {
-	anchor_id = 0;
+	anchor_id = 1;
 	is_active = true;
 };