From d9b6199cf0e4d9a1278c6ed446d39fa8f2527ea9 Mon Sep 17 00:00:00 2001 From: "Cameron (3539)" Date: Fri, 11 Oct 2024 00:27:16 -0400 Subject: [PATCH] Dont send SolvePNPEnabled in drivermode. (#1454) There are no settings for solvePNPEnabled while in driver mode but the UI tries to set it. Let us not do that. Fixes #1377 Co-authored-by: Chris Gerth --- photon-client/src/components/dashboard/tabs/InputTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-client/src/components/dashboard/tabs/InputTab.vue b/photon-client/src/components/dashboard/tabs/InputTab.vue index 9c883ad20..f69812ad6 100644 --- a/photon-client/src/components/dashboard/tabs/InputTab.vue +++ b/photon-client/src/components/dashboard/tabs/InputTab.vue @@ -40,7 +40,7 @@ const handleResolutionChange = (value: number) => { useCameraSettingsStore().changeCurrentPipelineSetting({ streamingFrameDivisor: getNumberOfSkippedDivisors() }, false); useCameraSettingsStore().currentPipelineSettings.streamingFrameDivisor = 0; - if (!useCameraSettingsStore().isCurrentVideoFormatCalibrated) { + if (!useCameraSettingsStore().isCurrentVideoFormatCalibrated && !useCameraSettingsStore().isDriverMode) { useCameraSettingsStore().changeCurrentPipelineSetting({ solvePNPEnabled: false }, true); } };