aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
authorhwc4872012-02-06 13:09:32 -0800
committerhwc4872012-02-06 13:09:32 -0800
commit1a8c017e37c5c0dec445ebafad634ef997fcd1bb (patch)
tree3380cb8ef0636dc0f662a2903f759a41749c28e0 /js/tools
parent465636cc0676d7fb83939d6fdb9204e474d47d46 (diff)
parent486d9a31a85dd833a1c798049a00403756703034 (diff)
downloadninja-1a8c017e37c5c0dec445ebafad634ef997fcd1bb.tar.gz
Merge branch 'ToolFixes' of github.com:mqg734/ninja-internal into working
Diffstat (limited to 'js/tools')
-rw-r--r--js/tools/LineTool.js1
-rw-r--r--js/tools/OvalTool.js1
-rw-r--r--js/tools/RectTool.js1
3 files changed, 3 insertions, 0 deletions
diff --git a/js/tools/LineTool.js b/js/tools/LineTool.js
index 17157f23..6a948fd8 100644
--- a/js/tools/LineTool.js
+++ b/js/tools/LineTool.js
@@ -238,6 +238,7 @@ exports.LineTool = Montage.create(ShapeTool, {
238 canvas.elementModel.shapeModel.strokeStyle = strokeStyle; 238 canvas.elementModel.shapeModel.strokeStyle = strokeStyle;
239 239
240 canvas.elementModel.shapeModel.GLGeomObj = line; 240 canvas.elementModel.shapeModel.GLGeomObj = line;
241 canvas.elementModel.shapeModel.useWebGl = this.options.use3D;
241 } 242 }
242 else 243 else
243 { 244 {
diff --git a/js/tools/OvalTool.js b/js/tools/OvalTool.js
index 2fa5411b..446c6754 100644
--- a/js/tools/OvalTool.js
+++ b/js/tools/OvalTool.js
@@ -95,6 +95,7 @@ exports.OvalTool = Montage.create(ShapeTool, {
95 canvas.elementModel.shapeModel.strokeStyle = strokeStyle; 95 canvas.elementModel.shapeModel.strokeStyle = strokeStyle;
96 96
97 canvas.elementModel.shapeModel.GLGeomObj = oval; 97 canvas.elementModel.shapeModel.GLGeomObj = oval;
98 canvas.elementModel.shapeModel.useWebGl = this.options.use3D;
98 } 99 }
99 else 100 else
100 { 101 {
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 {