You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
This commit is contained in:
@@ -47,7 +47,6 @@ class WebXRInterfaceJS : public WebXRInterface {
|
||||
private:
|
||||
bool initialized;
|
||||
|
||||
// @todo Should these really use enums instead of strings?
|
||||
String session_mode;
|
||||
String required_features;
|
||||
String optional_features;
|
||||
@@ -55,6 +54,7 @@ private:
|
||||
String reference_space_type;
|
||||
|
||||
bool controllers_state[2];
|
||||
Size2 render_targetsize;
|
||||
|
||||
Transform _js_matrix_to_transform(float *p_js_matrix);
|
||||
void _update_tracker(int p_controller_id);
|
||||
|
||||
Reference in New Issue
Block a user