Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scene/3d/xr/xr_nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,10 +681,13 @@ PackedStringArray XROrigin3D::get_configuration_warnings() const {
has_camera = true;
}
}

if (!has_camera) {
warnings.push_back(RTR("XROrigin3D requires an XRCamera3D child node."));
}

if (get_scale().is_equal_approx(Vector3(1, 1, 1))) {
warnings.push_back(RTR("Changing the scale on the XROrigin3D node is not supported. Change the World Scale instead."));
}
}

bool xr_enabled = GLOBAL_GET("xr/shaders/enabled");
Expand Down