aboutsummaryrefslogtreecommitdiff
path: root/js/tools/RectTool.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-06 11:35:49 -0800
committerNivesh Rajbhandari2012-02-06 11:35:49 -0800
commit486d9a31a85dd833a1c798049a00403756703034 (patch)
tree53d5fbf494a3630fac47b68969b51bac5ae69f0f /js/tools/RectTool.js
parent671a27069db6a121507c2b342653aede685cff67 (diff)
downloadninja-486d9a31a85dd833a1c798049a00403756703034.tar.gz
Support use WebGL checkbox in the PI.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/RectTool.js')
-rw-r--r--js/tools/RectTool.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/RectTool.js b/js/tools/RectTool.js
index 94d80b53..6109ee4d 100644
--- a/js/tools/RectTool.js
+++ b/js/tools/RectTool.js
@@ -117,6 +117,7 @@ exports.RectTool = Montage.create(ShapeTool, {
117 canvas.elementModel.shapeModel.strokeStyle = strokeStyle; 117 canvas.elementModel.shapeModel.strokeStyle = strokeStyle;
118 118
119 canvas.elementModel.shapeModel.GLGeomObj = rect; 119 canvas.elementModel.shapeModel.GLGeomObj = rect;
120 canvas.elementModel.shapeModel.useWebGl = this.options.use3D;
120 } 121 }
121 else 122 else
122 { 123 {