[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34722] trunk/blender/release/scripts/ui/ properties_texture.py: jahka IRC fix

M.G. Kishalmi lmg at kishalmi.net
Tue Feb 8 17:24:00 CET 2011


Revision: 34722
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34722
Author:   lmg
Date:     2011-02-08 16:24:00 +0000 (Tue, 08 Feb 2011)
Log Message:
-----------
jahka IRC fix

pinning the texture properties gave python errors.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_texture.py

Modified: trunk/blender/release/scripts/ui/properties_texture.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_texture.py	2011-02-08 14:33:08 UTC (rev 34721)
+++ trunk/blender/release/scripts/ui/properties_texture.py	2011-02-08 16:24:00 UTC (rev 34722)
@@ -102,7 +102,7 @@
         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()




More information about the Bf-blender-cvs mailing list