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/ShapeTool.js | |
parent | cfc2a432323d4620b1f4ca2061bbe57f46e7eaf7 (diff) | |
parent | e67d1f472dab28b4ff6afc9d9cc06b34756e26b5 (diff) | |
download | ninja-e404c691b84ca8fd1ab17fc6187bccb3f94258fb.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Diffstat (limited to 'js/tools/ShapeTool.js')
-rwxr-xr-x | js/tools/ShapeTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ShapeTool.js b/js/tools/ShapeTool.js index 4ccb7a8d..29e9b99f 100755 --- a/js/tools/ShapeTool.js +++ b/js/tools/ShapeTool.js | |||
@@ -66,7 +66,7 @@ exports.ShapeTool = Montage.create(DrawingTool, { | |||
66 | var canvas; | 66 | var canvas; |
67 | if(!this._useExistingCanvas()) | 67 | if(!this._useExistingCanvas()) |
68 | { | 68 | { |
69 | canvas = NJUtils.makeNJElement("canvas", "Canvas", "shape", null, true); | 69 | canvas = NJUtils.makeNJElement("canvas", "Canvas", "shape", {"data-RDGE-id": NJUtils.generateRandom()}, true); |
70 | var elementModel = TagTool.makeElement(~~drawData.width, ~~drawData.height, | 70 | var elementModel = TagTool.makeElement(~~drawData.width, ~~drawData.height, |
71 | drawData.planeMat, drawData.midPt, canvas); | 71 | drawData.planeMat, drawData.midPt, canvas); |
72 | 72 | ||