File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ StringName XRBodyModifier3D::get_body_tracker() const {
6666
6767void XRBodyModifier3D::set_body_update (BitField<BodyUpdate> p_body_update) {
6868 body_update = p_body_update;
69+
70+ if (is_inside_tree ()) {
71+ _get_joint_data ();
72+ }
6973}
7074
7175BitField<XRBodyModifier3D::BodyUpdate> XRBodyModifier3D::get_body_update () const {
Original file line number Diff line number Diff line change @@ -504,6 +504,10 @@ void XRFaceModifier3D::_bind_methods() {
504504
505505void XRFaceModifier3D::set_face_tracker (const StringName &p_tracker_name) {
506506 tracker_name = p_tracker_name;
507+
508+ if (is_inside_tree ()) {
509+ _get_blend_data ();
510+ }
507511}
508512
509513StringName XRFaceModifier3D::get_face_tracker () const {
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ void XRHandModifier3D::_bind_methods() {
5050
5151void XRHandModifier3D::set_hand_tracker (const StringName &p_tracker_name) {
5252 tracker_name = p_tracker_name;
53+
54+ if (is_inside_tree ()) {
55+ _get_joint_data ();
56+ }
5357}
5458
5559StringName XRHandModifier3D::get_hand_tracker () const {
You can’t perform that action at this time.
0 commit comments