diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-26 11:35:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 11:35:14 +0100 |
commit | 3e1e508b64df5e8ce8dcb4e2579bac6f1da6c0a3 (patch) | |
tree | 3a5cf12a3d59faf233672fbe76cc6eb982eaa20a | |
parent | f30745bd85ea1a139ff0873d9e96f13d7b90db69 (diff) | |
parent | 0c4ffae40c19d6ebc57ea811e608e70b94073b41 (diff) |
Merge pull request #23962 from Windfisch/arvr_conf_warn
Update ARVR{Anchor,Controller}'s configuration warning
-rw-r--r-- | scene/3d/arvr_nodes.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/arvr_nodes.cpp b/scene/3d/arvr_nodes.cpp index 2dc500f7ab..7ea62678da 100644 --- a/scene/3d/arvr_nodes.cpp +++ b/scene/3d/arvr_nodes.cpp @@ -266,6 +266,7 @@ void ARVRController::set_controller_id(int p_controller_id) { // We don't check any bounds here, this controller may not yet be active and just be a place holder until it is. // Note that setting this to 0 means this node is not bound to a controller yet. controller_id = p_controller_id; + update_configuration_warning(); }; int ARVRController::get_controller_id(void) const { @@ -446,6 +447,7 @@ void ARVRAnchor::set_anchor_id(int p_anchor_id) { // We don't check any bounds here, this anchor may not yet be active and just be a place holder until it is. // Note that setting this to 0 means this node is not bound to an anchor yet. anchor_id = p_anchor_id; + update_configuration_warning(); }; int ARVRAnchor::get_anchor_id(void) const { |