Skip to content

Commit

Permalink
Merge pull request #971 from cyberbotics/sync-master-ebf8625814778672…
Browse files Browse the repository at this point in the history
…c2806346198e3532c887610f

Sync libcontroller master
  • Loading branch information
omichel authored Sep 7, 2024
2 parents 6e1c743 + 14443c1 commit 1b0e66e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webots_ros2_driver/webots/src/controller/c/supervisor.c
Original file line number Diff line number Diff line change
Expand Up @@ -2831,6 +2831,9 @@ const double *wb_supervisor_virtual_reality_headset_get_orientation() {
}

const char *wb_supervisor_field_get_name(WbFieldRef field) {
if (!check_field(field, __FUNCTION__, WB_NO_FIELD, false, NULL, false, false))
return "";

return field->name;
}

Expand Down

0 comments on commit 1b0e66e

Please sign in to comment.