diff options
Diffstat (limited to 'js/helper-classes/RDGE/GLRectangle.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLRectangle.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/helper-classes/RDGE/GLRectangle.js b/js/helper-classes/RDGE/GLRectangle.js index a801d3c4..f44350df 100755 --- a/js/helper-classes/RDGE/GLRectangle.js +++ b/js/helper-classes/RDGE/GLRectangle.js | |||
@@ -274,10 +274,10 @@ function GLRectangle() | |||
274 | brRadius = -z*(r-l)/(2.0*zn)*brRadiusNDC; | 274 | brRadius = -z*(r-l)/(2.0*zn)*brRadiusNDC; |
275 | 275 | ||
276 | // stroke | 276 | // stroke |
277 | var strokeMaterial = this.makeStrokeMaterial(); | 277 | // var strokeMaterial = this.makeStrokeMaterial(); |
278 | var strokePrim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial); | 278 | // var strokePrim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial); |
279 | this._primArray.push( strokePrim ); | 279 | // this._primArray.push( strokePrim ); |
280 | this._materialNodeArray.push( strokeMaterial.getMaterialNode() ); | 280 | // this._materialNodeArray.push( strokeMaterial.getMaterialNode() ); |
281 | 281 | ||
282 | // fill | 282 | // fill |
283 | tlRadius -= strokeSize; if (tlRadius < 0) tlRadius = 0.0; | 283 | tlRadius -= strokeSize; if (tlRadius < 0) tlRadius = 0.0; |