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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2011-02-28 17:25:40 +0300
committerThomas Dinges <blender@dingto.org>2011-02-28 17:25:40 +0300
commitcbf976e7a6af956506ed5d28ffb91f11125c132c (patch)
treee9a657399797ab855801a594d9e7cc17afe413bc /release/scripts/ui/space_image.py
parent82b21ba1663b253b4bde318599eedd062b5e9f64 (diff)
2.5 UI scripts:
* Removed some unused code.
Diffstat (limited to 'release/scripts/ui/space_image.py')
-rw-r--r--release/scripts/ui/space_image.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/ui/space_image.py b/release/scripts/ui/space_image.py
index 7960336c9e7..1927962d90b 100644
--- a/release/scripts/ui/space_image.py
+++ b/release/scripts/ui/space_image.py
@@ -425,7 +425,6 @@ class IMAGE_PT_image_properties(bpy.types.Panel):
layout = self.layout
sima = context.space_data
- # ima = sima.image
iuser = sima.image_user
layout.template_image(sima, "image", iuser)
@@ -684,10 +683,7 @@ class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, bpy.types.Panel):
toolsettings = context.tool_settings.image_paint
brush = toolsettings.brush
-# tex_slot = brush.texture_slot
-
col = layout.column()
-
col.template_ID_preview(brush, "texture", new="texture.new", rows=3, cols=8)