Skip to content

Commit

Permalink
Merge pull request #100633 from BastiaanOlij/fix_openxr_dpad_angle_de…
Browse files Browse the repository at this point in the history
…grees

OpenXR: Make sure wedge on DPad modifier is expressed in degrees.
  • Loading branch information
akien-mga committed Dec 21, 2024
2 parents 57d1385 + 65bb722 commit 4b33387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void OpenXRDpadBindingModifier::_bind_methods() {

ClassDB::bind_method(D_METHOD("set_wedge_angle", "wedge_angle"), &OpenXRDpadBindingModifier::set_wedge_angle);
ClassDB::bind_method(D_METHOD("get_wedge_angle"), &OpenXRDpadBindingModifier::get_wedge_angle);
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "wedge_angle"), "set_wedge_angle", "get_wedge_angle");
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "wedge_angle", PROPERTY_HINT_RANGE, "1.0,180.0,0.1,radians_as_degrees"), "set_wedge_angle", "get_wedge_angle");

ClassDB::bind_method(D_METHOD("set_is_sticky", "is_sticky"), &OpenXRDpadBindingModifier::set_is_sticky);
ClassDB::bind_method(D_METHOD("get_is_sticky"), &OpenXRDpadBindingModifier::get_is_sticky);
Expand Down

0 comments on commit 4b33387

Please sign in to comment.