diff options
author | Jose Antonio Marquez | 2012-02-16 23:12:11 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-16 23:12:11 -0800 |
commit | e404c691b84ca8fd1ab17fc6187bccb3f94258fb (patch) | |
tree | 7547d267a629ac717553e98e34a4d02543d529b7 /js/tools/LineTool.js | |
parent | cfc2a432323d4620b1f4ca2061bbe57f46e7eaf7 (diff) | |
parent | e67d1f472dab28b4ff6afc9d9cc06b34756e26b5 (diff) | |
download | ninja-e404c691b84ca8fd1ab17fc6187bccb3f94258fb.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Diffstat (limited to 'js/tools/LineTool.js')
-rwxr-xr-x | js/tools/LineTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/LineTool.js b/js/tools/LineTool.js index 99c374a7..233316a5 100755 --- a/js/tools/LineTool.js +++ b/js/tools/LineTool.js | |||
@@ -82,7 +82,7 @@ exports.LineTool = Montage.create(ShapeTool, { | |||
82 | h += ~~(yAdj*2); | 82 | h += ~~(yAdj*2); |
83 | } | 83 | } |
84 | 84 | ||
85 | canvas = NJUtils.makeNJElement("canvas", "Canvas", "shape", null, true); | 85 | canvas = NJUtils.makeNJElement("canvas", "Canvas", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true); |
86 | var elementModel = TagTool.makeElement(w, h, drawData.planeMat, drawData.midPt, canvas); | 86 | var elementModel = TagTool.makeElement(w, h, drawData.planeMat, drawData.midPt, canvas); |
87 | 87 | ||
88 | ElementMediator.addElement(canvas, elementModel.data, true); | 88 | ElementMediator.addElement(canvas, elementModel.data, true); |