Comment 6 for bug 401346

Revision history for this message
375gnu (375gnu) wrote :

It is a bug, really.

When Inkscape can't load translated version of default template (default.XX.svg) during creation of new image it has very strange behavior when works with 3D Boxes: X-Axis VP is bottom left corner, box disappears when X-Axis VP is tourned into infinite or when trying to move X-Axis VP. May be other shapes are affected too.

A possible solution is to load system wide default.svg if translated one can't be loaded. And use no template only if system wide one can't be loaded. Patch is provided in attachment.

Also I've fixed possible tiny memory leaks in that function, and removed usage of std::list because usual array is enough (KISS!).