summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-06-06 14:33:04 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-06-06 14:33:04 +0200
commit3de3f87657be62965602c83e670c5b589cdfee3c (patch)
tree3364ce06aa95c21d19909e37bdb0e0a462793134
parent197b65f32ac811f79bc5599fbfe8cf83914b6873 (diff)
Fix ARVRAnchor and ARVRController error spam
-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;
};