mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
parent
60dcc4f39c
commit
e28fd07b2b
371 changed files with 1318 additions and 1318 deletions
|
|
@ -400,7 +400,7 @@ void WebXRInterfaceJS::_update_tracker(int p_controller_id) {
|
|||
Ref<XRPositionalTracker> tracker = xr_server->find_by_type_and_id(XRServer::TRACKER_CONTROLLER, p_controller_id + 1);
|
||||
if (godot_webxr_is_controller_connected(p_controller_id)) {
|
||||
if (tracker.is_null()) {
|
||||
tracker.instance();
|
||||
tracker.instantiate();
|
||||
tracker->set_tracker_type(XRServer::TRACKER_CONTROLLER);
|
||||
// Controller id's 0 and 1 are always the left and right hands.
|
||||
if (p_controller_id < 2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue