Add default reflective pipeline (#35)

This commit is contained in:
Matt
2020-07-16 16:18:01 -07:00
committed by GitHub
parent 8b46ad1cab
commit 264fb1570d

View File

@@ -55,7 +55,9 @@ public class PipelineManager {
* @param userPipelines Pipelines to add to the manager.
*/
public PipelineManager(List<CVPipelineSettings> userPipelines) {
this.userPipelineSettings = userPipelines;
this.userPipelineSettings = new ArrayList<>(userPipelines);
if (userPipelines.size() < 1) addPipeline(PipelineType.Reflective);
}
/**