From 903b01b9d0501e6f974034273385a0517107b1e3 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Tue, 27 Mar 2012 12:42:42 -0700 Subject: File IO for the brush stroke AND changing the data type of brush stroke from GEOM_TYPE_CUBIC_BEZIER to GEOM_TYPE_BRUSH_STROKE --- js/document/html-document.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'js/document') 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, { shapeModel.slope = root._slope; break; + case root.GEOM_TYPE_BRUSH_STROKE: + elementModel.selection = "BrushStroke"; + elementModel.pi = "BrushStrokePi"; + break; + + default: console.log( "geometry type not supported for file I/O, " + root.geomType()); break; -- cgit v1.2.3