diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:31:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:36:16 +0400 |
commit | a15be343895d4f3481eb349b4d145ffbe1c10dce (patch) | |
tree | a49eb487e061df8e8378eeb3b2318c4d084babc2 /source/blender | |
parent | 16443b1ae0f79e853ce13f17a3513a12c5cd8883 (diff) |
Code cleanup: unused python vars & imports
Use frosted rather then pyflakes
Diffstat (limited to 'source/blender')
-rwxr-xr-x | source/blender/datatoc/datatoc_icon_split.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/datatoc/datatoc_icon_split.py b/source/blender/datatoc/datatoc_icon_split.py index 44d8e5fd0fb..55f0a5c5f6a 100755 --- a/source/blender/datatoc/datatoc_icon_split.py +++ b/source/blender/datatoc/datatoc_icon_split.py @@ -164,7 +164,6 @@ def dice(filepath, output, output_prefix, name_style, minx_icon, miny_icon, maxx_icon, maxy_icon, spacex_icon, spacey_icon, ): - import struct is_simple = (max(minx, miny, maxx, maxy, minx_icon, miny_icon, maxx_icon, maxy_icon, @@ -209,7 +208,7 @@ def dice(filepath, output, output_prefix, name_style, # simple, no margins if is_simple: - sub_x = x * icon_x + sub_x = x * icon_w sub_y = y * icon_h else: sub_x = minx + ((x * (icon_w + spacex_icon)) + minx_icon) |