mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
* Fix #461 (pipeline type change index) * Reassign indexes after changing pipeline type
This commit is contained in:
@@ -400,7 +400,9 @@ public class PipelineManager {
|
||||
}
|
||||
|
||||
logger.info("Adding new pipe of type " + type.toString() + " at idx " + idx);
|
||||
newSettings.pipelineIndex = idx;
|
||||
userPipelineSettings.set(idx, newSettings);
|
||||
setPipelineInternal(idx);
|
||||
reassignIndexes();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user