aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-29 15:40:59 -0700
committerValerio Virgillito2012-03-29 15:40:59 -0700
commitf4949cab544886702e7ad6eeaa6215125c7b067a (patch)
treeb62d6319d6e9aa2c447597c3a2ccde5472da4738 /js/document
parent3fd2cdb59027b3f973b9165db9db4fdd22026941 (diff)
parentfa5c9dbdc3e8618d494e142e0967fa69049d0c97 (diff)
downloadninja-f4949cab544886702e7ad6eeaa6215125c7b067a.tar.gz
Merge pull request #147 from pushkarjoshi/brushtool
Brushtool
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 8f9d2870..42a7d537 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -340,6 +340,12 @@ exports.HTMLDocument = Montage.create(TextDocument, {
340 shapeModel.slope = root._slope; 340 shapeModel.slope = root._slope;
341 break; 341 break;
342 342
343 case root.GEOM_TYPE_BRUSH_STROKE:
344 elementModel.selection = "BrushStroke";
345 elementModel.pi = "BrushStrokePi";
346 break;
347
348
343 default: 349 default:
344 console.log( "geometry type not supported for file I/O, " + root.geomType()); 350 console.log( "geometry type not supported for file I/O, " + root.geomType());
345 break; 351 break;