Commit 1b964477 authored by esanroman's avatar esanroman
Browse files

fix multipipe

parent b6c9a3f1
......@@ -173,6 +173,7 @@ export class DummyPipe extends Pipe {
* @scope: private
*/
setTempType(type, nextPipe) {
if (matchTypes(this.tempType, type) || this.tempType == "MULTIPIPE_OUT") {
if (this.tempInDirection == nextPipe.dir){
this.tempType = typeCompare(this.tempType, type);
......@@ -191,15 +192,15 @@ export class DummyPipe extends Pipe {
this.tempType = nextPipe.pipe.multipipeConstruction[0]
this.multipipeConstruction = nextPipe.pipe.multipipeConstruction[0];
this.multipipeTypes = nextPipe.pipe.multipipeConstruction[0];
} else {
this.multipipeConstruction = type
}
}
} else {
//this.multipipeTypes = type;
this.multipipeTypes = nextPipe.pipe.multipipeTypes
this.multipipeConstruction = type
}
} else if (this.tempInDirection == null || this.tempType == "UNDEFINED") {
this.multipipeTypes = nextPipe.pipe.multipipeTypes
this.tempType = typeCompare(this.tempType, type);
this.multipipeConstruction = type
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment