aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
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 {