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>2010-04-07 22:08:30 +0400
committerThomas Dinges <blender@dingto.org>2010-04-07 22:08:30 +0400
commitb2330d44d249acbdc2a9d01643b08deaadfcbfb1 (patch)
tree44a4c4588e4614ade30177a0681ef7e217441c5e
parent11b52ae30a5e14df394e6023254d6c7b8f08a36a (diff)
* Texture Mapping Panel could raise an error, missed check for an active texture slot.
-rw-r--r--release/scripts/ui/properties_texture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_texture.py b/release/scripts/ui/properties_texture.py
index 48f7d8f6d2a..e511f6ca654 100644
--- a/release/scripts/ui/properties_texture.py
+++ b/release/scripts/ui/properties_texture.py
@@ -207,7 +207,7 @@ class TEXTURE_PT_mapping(TextureSlotPanel):
idblock = context_tex_datablock(context)
if type(idblock) == bpy.types.Brush and not context.sculpt_object:
return False
- return True
+ return context.texture_slot
def draw(self, context):
layout = self.layout