diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
commit | 488e1da935d55330be55eb30b4605b993dd65dbd (patch) | |
tree | d4437d5e74e962482a4a6aa5336212c257f0245e /io_curve_svg | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
Diffstat (limited to 'io_curve_svg')
-rw-r--r-- | io_curve_svg/__init__.py | 2 | ||||
-rw-r--r-- | io_curve_svg/import_svg.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/io_curve_svg/__init__.py b/io_curve_svg/__init__.py index dc68490b..82982e76 100644 --- a/io_curve_svg/__init__.py +++ b/io_curve_svg/__init__.py @@ -43,7 +43,7 @@ if "bpy" in locals(): import bpy from bpy.props import StringProperty -from bpy_extras.io_utils import ImportHelper, ExportHelper +from bpy_extras.io_utils import ImportHelper class ImportSVG(bpy.types.Operator, ImportHelper): diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index 231986e5..d8ae1a8d 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -887,7 +887,7 @@ class SVGPathParser: Elliptical arc CurveTo path command """ - c = code.lower() + # c = code.lower() # UNUSED cur = self._data.cur() while cur is not None and not cur.isalpha(): @@ -1244,7 +1244,7 @@ class SVGGeometryUSE(SVGGeometry): Create real geometries """ - geometries = [] + # geometries = [] # UNUSED ref = self._node.getAttribute('xlink:href') geom = self._context['defines'].get(ref) |