mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
Fix 60721ca camera/pipeline rename mixup
This commit is contained in:
@@ -67,12 +67,13 @@ public class SocketHandler {
|
||||
}
|
||||
case "changeCameraName": {
|
||||
currentCamera.getProperties().setNickname((String) entry.getValue());
|
||||
currentProcess.setCameraName((String) entry.getValue());
|
||||
sendFullSettings();
|
||||
VisionManager.saveCurrentCameraSettings();
|
||||
break;
|
||||
}
|
||||
case "changePipelineName": {
|
||||
currentProcess.setCameraName((String) entry.getValue());
|
||||
currentProcess.pipelineManager.renameCurrentPipeline((String) entry.getValue());
|
||||
sendFullSettings();
|
||||
VisionManager.saveCurrentCameraPipelines();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user