Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
4ee7689e
Commit
4ee7689e
authored
12 years ago
by
Sergey Sharybin
Browse files
Options
Downloads
Patches
Plain Diff
SVG import: corretc multiplier for mm, cm and in to match blender's unit system
parent
55fc6729
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io_curve_svg/import_svg.py
+3
-3
3 additions, 3 deletions
io_curve_svg/import_svg.py
with
3 additions
and
3 deletions
io_curve_svg/import_svg.py
+
3
−
3
View file @
4ee7689e
...
...
@@ -32,9 +32,9 @@ from . import svg_colors
# TODO: "em" and "ex" aren't actually supported
SVGUnits
=
{
""
:
1.0
,
"
px
"
:
1.0
,
"
in
"
:
90
,
"
mm
"
:
90
/
25.4
,
"
cm
"
:
90
/
2.54
,
"
in
"
:
90
.0
/
12.0
*
0.3048
,
"
mm
"
:
90
.0
/
1000.0
,
"
cm
"
:
90
.0
/
100.0
,
"
pt
"
:
1.25
,
"
pc
"
:
15.0
,
"
em
"
:
1.0
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment