mirror of
https://github.com/hyblocker/OpenVR-SpaceCalibrator.git
synced 2026-10-26 20:02:49 +01:00
(feat): Prepare for jitter detection
This commit is contained in:
3 files changed
+9
-8
No files matched your search
@@ -245,7 +245,6 @@ void CCal_DrawSettings() {
|
||||
// Section: Continuous Calibration settings
|
||||
{
|
||||
ImGui::BeginGroupPanel("Continuous calibration", panel_size);
|
||||
|
||||
{
|
||||
// @TODO: Reduce code duplication (tooltips)
|
||||
// Recalibration threshold
|
||||
@@ -360,7 +359,7 @@ void CCal_BasicInfo() {
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, 0xFF000080);
|
||||
status = "NOT FOUND";
|
||||
}
|
||||
else if (!CalCtx.ReferencePoseIsValid()) {
|
||||
else if (!CalCtx.ReferencePoseIsValidSimple()) {
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, 0xFFFF0080);
|
||||
status = "NOT TRACKING";
|
||||
}
|
||||
@@ -381,7 +380,7 @@ void CCal_BasicInfo() {
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, 0xFF000080);
|
||||
status = "NOT FOUND";
|
||||
}
|
||||
else if (!CalCtx.TargetPoseIsValid()) {
|
||||
else if (!CalCtx.TargetPoseIsValidSimple()) {
|
||||
ImGui::TableSetBgColor(ImGuiTableBgTarget_CellBg, 0xFFFF0080);
|
||||
status = "NOT TRACKING";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user