aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorPushkar Joshi2012-04-03 14:50:34 -0700
committerPushkar Joshi2012-04-03 14:50:34 -0700
commit79fb912bdaa22b8107bbddc93d1779820af80cf9 (patch)
tree022c08e2cff19d1599808037684b271dedecb146 /js/document
parent06970d710f7172ee5ab736ef082c7703c61bfd0c (diff)
downloadninja-79fb912bdaa22b8107bbddc93d1779820af80cf9.tar.gz
working File I/O for pen tool created paths and some minor bug fixes (correctly setting the canvas for brush stroke file I/O, correct plane matrix for file I/O)
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 42a7d537..5538229c 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -345,6 +345,10 @@ exports.HTMLDocument = Montage.create(TextDocument, {
345 elementModel.pi = "BrushStrokePi"; 345 elementModel.pi = "BrushStrokePi";
346 break; 346 break;
347 347
348 case root.GEOM_TYPE_CUBIC_BEZIER:
349 elementModel.selection = "Subpath";
350 elementModel.pi = "SubpathPi";
351 break;
348 352
349 default: 353 default:
350 console.log( "geometry type not supported for file I/O, " + root.geomType()); 354 console.log( "geometry type not supported for file I/O, " + root.geomType());