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_coat3D/coat.py | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
Diffstat (limited to 'io_coat3D/coat.py')
-rw-r--r-- | io_coat3D/coat.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py index 954502f3..4d967ce1 100644 --- a/io_coat3D/coat.py +++ b/io_coat3D/coat.py @@ -1,4 +1,3 @@ - # ***** BEGIN GPL LICENSE BLOCK ***** # # @@ -22,8 +21,6 @@ import bpy from bpy.props import * from io_coat3D import tex import os -import linecache -import math bpy.coat3D = dict() @@ -151,7 +148,6 @@ class SCENE_PT_Settings(ObjectButtonsPanel,bpy.types.Panel): def draw(self, context): layout = self.layout - scene = context.scene coat3D = bpy.context.scene.coat3D row = layout.row() @@ -374,8 +370,7 @@ class SCENE_OT_import(bpy.types.Operator): if(coat3D.importmod): - mod_list = [] - for mod_index in objekti.modifiers: + for mod_index in objekti.modifiers[:]: objekti.modifiers.remove(mod_index) |