evil-mad / robopaint-mode-edit

The default SVG Import and editing mode for RoboPaint
MIT License
3 stars 4 forks source link

SVG file creation not properly initialized. (create mode) #2

Open techninja opened 9 years ago

techninja commented 9 years ago

From @oskay on March 17, 2015 20:53

Drawings created in Create mode save poorly (with malformed SVG), unless you first select New Document or open an existing file.

To reproduce:

(1) Launch robopaint. Make simple drawing with just a circle, try to save. -> Result: Bad SVG file, with extra <rect ...> and </g> before first <g>.

`

[...] `

(2) Try to load that file. -> Result: Cannot load file (since it's a bad SVG).

(3) Make new document, or open existing document, and try to save -> Result: Success; makes working SVG.

(4) Restart RoboPaint, File > New Document -> Result: Saving works OK.

Copied from original issue: evil-mad/robopaint#212

techninja commented 9 years ago

Ouch, yea, that's real. Thanks method-draw! Sheesh. Will fix in 0.9.6 as listed.

techninja commented 9 years ago

@rogerfachini has claimed this one, a PR is likely soon forthcoming.