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:
authorM.G. Kishalmi <lmg@kishalmi.net>2011-02-08 19:24:00 +0300
committerM.G. Kishalmi <lmg@kishalmi.net>2011-02-08 19:24:00 +0300
commit4ac2d60800b72e8814edda0aaebad5a75631f4e3 (patch)
tree5d4f319f33e5a0cd1385f8b363ad291af79e81d5 /release
parent496a78a5932689f37d70640cd9ab99e29cca66da (diff)
jahka IRC fix
pinning the texture properties gave python errors.
Diffstat (limited to 'release')
-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 9549eb28c63..1e786394ae0 100644
--- a/release/scripts/ui/properties_texture.py
+++ b/release/scripts/ui/properties_texture.py
@@ -102,7 +102,7 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, bpy.types.Panel):
if not space.use_pin_id:
layout.prop(space, "texture_context", expand=True)
- tex_collection = (pin_id is None) and (node is None) and (not isinstance(idblock, bpy.types.Brush))
+ tex_collection = (not space.use_pin_id) and (node is None) and (not isinstance(idblock, bpy.types.Brush))
if tex_collection:
row = layout.row()