Skip to content
Snippets Groups Projects
Commit 7e77c6ef authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

SVG: Properly handle values in exponential notation

Some SVG exporters outputs small values in an exponential
notation. There is no big reason to reject those files.

This change makes it so any notation of the value is accepted.
Only do it in the path point parsing, since other areas are
already dealing with this correct.

Also covered the array parsing covered with a unit test which
can be run as a stand-alone application.

The parsing code is from Jacques Lucke, thanks!

Differential Revision: https://developer.blender.org/D4234
parent 812d1c1e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment