diff options
Diffstat (limited to 'js/Misc/scifunc_block.js')
-rw-r--r-- | js/Misc/scifunc_block.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js index ea851ed6..eda2f6f8 100644 --- a/js/Misc/scifunc_block.js +++ b/js/Misc/scifunc_block.js @@ -33,6 +33,12 @@ function scifunc_block() { return this.x; } scifunc_block.prototype.get = function scifunc_block() { + var needcompile = 0; + var exprs = this.graphics.exprs; + if (size(exprs[1-1],"*")==8) { + exprs[1-1][9-1] = "0"; + } + this.set_param_popup_title = "Set scifunc_block parameters"; var options = { i:["input ports sizes",this.i], o:["output port sizes",this.o], @@ -118,7 +124,6 @@ function scifunc_block() { return new BasicBlock(this.x); } scifunc_block.prototype.get_popup_title = function scifunc_block() { - var set_param_popup_title = "Set scifunc_block parameters"; - return set_param_popup_title; + return this.set_param_popup_title; } } |