Skip to content
Snippets Groups Projects
Commit f28707fd authored by mathias.chouet's avatar mathias.chouet
Browse files

#211 : links to other parameters are not linkable anymore

parent bc932cd2
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,10 @@ export abstract class Nub extends ComputeNode implements IObservable {
// trick to expose p a a result of the parent Nub
res.push(new LinkedValue(this.parent, p, p.symbol));
} else {
res.push(new LinkedValue(this, p, p.symbol));
// do not suggest parameters that are already linked to another one
if (p.valueMode !== ParamValueMode.LINK) {
res.push(new LinkedValue(this, p, p.symbol));
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment