Don't send empty HEAD pose on failed xrLocateSpace

This commit is contained in:
Sapphire
2026-02-11 09:08:05 +01:00
committed by xytovl
parent 6ccf6eaf26
commit 87b11d6817
+1 -1
View File
@@ -84,7 +84,7 @@ from_headset::tracking::pose locate_space(device_id device, XrSpace space, XrSpa
.flags = cast_flags(location.locationFlags, velocity.velocityFlags),
};
spdlog::warn("xrLocateSpace failed for {}: {}", magic_enum::enum_name(device), xr::to_string(res));
return {};
return {.device = device};
}
class locate_spaces_functor