summaryrefslogtreecommitdiff
path: root/servers/xr/xr_pose.cpp
diff options
context:
space:
mode:
authorArnav Vijaywargiya <binarydigitz01@protonmail.com>2022-01-11 09:47:42 +0530
committerArnav Vijaywargiya <binarydigitz01@protonmail.com>2022-01-11 17:17:11 +0530
commit0c46f73b5e5e89ba8fbe1f2294f203b5e9df2d0a (patch)
tree14dbaba7255857cb7711f83f89e111f71f931385 /servers/xr/xr_pose.cpp
parentb52f90e795e0de9c0e7056fd5c83d2c5e3d207af (diff)
Fixed incorrect property types
Diffstat (limited to 'servers/xr/xr_pose.cpp')
-rw-r--r--servers/xr/xr_pose.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/xr/xr_pose.cpp b/servers/xr/xr_pose.cpp
index ab6eb042c9..0862fefef5 100644
--- a/servers/xr/xr_pose.cpp
+++ b/servers/xr/xr_pose.cpp
@@ -35,7 +35,7 @@
void XRPose::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_has_tracking_data", "has_tracking_data"), &XRPose::set_has_tracking_data);
ClassDB::bind_method(D_METHOD("get_has_tracking_data"), &XRPose::get_has_tracking_data);
- ADD_PROPERTY(PropertyInfo(Variant::STRING, "has_tracking_data"), "set_has_tracking_data", "get_has_tracking_data");
+ ADD_PROPERTY(PropertyInfo(Variant::BOOL, "has_tracking_data"), "set_has_tracking_data", "get_has_tracking_data");
ClassDB::bind_method(D_METHOD("set_name", "name"), &XRPose::set_name);
ClassDB::bind_method(D_METHOD("get_name"), &XRPose::get_name);