summaryrefslogtreecommitdiff
path: root/js/Sinks/CSCOPXY3D.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sinks/CSCOPXY3D.js')
-rw-r--r--js/Sinks/CSCOPXY3D.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js
index a988d1aa..9b25962a 100644
--- a/js/Sinks/CSCOPXY3D.js
+++ b/js/Sinks/CSCOPXY3D.js
@@ -116,10 +116,10 @@ function CSCOPXY3D() {
this.model = tmpvar0[0];
this.graphics = tmpvar0[1];
var ok = tmpvar0[2];
- if (this.wpos==[]) {
+ if (this.wpos.length==0) {
this.wpos = [[-1],[-1]];
}
- if (this.wdim==[]) {
+ if (this.wdim.length==0) {
this.wdim = [[-1],[-1]];
}
var rpar = [[this.vec_x.slice()],[this.vec_y.slice()],[this.vec_z.slice()],[this.param3ds.slice()]];