diff options
author | Pushkar Joshi | 2012-04-03 14:50:34 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-04-03 14:50:34 -0700 |
commit | 79fb912bdaa22b8107bbddc93d1779820af80cf9 (patch) | |
tree | 022c08e2cff19d1599808037684b271dedecb146 /js/document | |
parent | 06970d710f7172ee5ab736ef082c7703c61bfd0c (diff) | |
download | ninja-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-x | js/document/html-document.js | 4 |
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()); |