summaryrefslogtreecommitdiff
path: root/scene/3d/arvr_nodes.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-11 15:58:04 +0200
committerGitHub <noreply@github.com>2019-06-11 15:58:04 +0200
commit0d5b2dba918b91b88ace4ae61fb7866c7d58bf4b (patch)
tree9850516afe0d52bd47eca46bea9659a737daf771 /scene/3d/arvr_nodes.cpp
parent290032b68f5cc1f6c2cb410c2a90d81168c72a87 (diff)
parent3de3f87657be62965602c83e670c5b589cdfee3c (diff)
Merge pull request #29543 from qarmin/fix_arvr_error_spam
Fix ARVRAnchor and ARVRController error spam
Diffstat (limited to 'scene/3d/arvr_nodes.cpp')
-rw-r--r--scene/3d/arvr_nodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/arvr_nodes.cpp b/scene/3d/arvr_nodes.cpp
index 4e88948ce2..95eec41fb2 100644
--- a/scene/3d/arvr_nodes.cpp
+++ b/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;
};