Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-07-11 02:57:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-11 02:57:27 +0400
commit488e1da935d55330be55eb30b4605b993dd65dbd (patch)
treed4437d5e74e962482a4a6aa5336212c257f0245e /modules
parent8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff)
cleanup
- remove/comment unused variables - remove unused imports - fixed some bugs using incorrect variables
Diffstat (limited to 'modules')
-rw-r--r--modules/ui_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui_utils.py b/modules/ui_utils.py
index 1bbb9ef2..15a71a6e 100644
--- a/modules/ui_utils.py
+++ b/modules/ui_utils.py
@@ -30,7 +30,7 @@ class GUI:
def drawIconButton(cls, enabled, layout, iconName, operator, frame=True):
col = layout.column()
col.enabled = enabled
- bt = col.operator(operator,
+ col.operator(operator,
text='',
icon=iconName,
emboss=frame)
@@ -39,7 +39,7 @@ class GUI:
def drawTextButton(cls, enabled, layout, text, operator, frame=True):
col = layout.column()
col.enabled = enabled
- bt = col.operator(operator,
+ col.operator(operator,
text=text,
emboss=frame)