[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24583] trunk/blender/release/scripts/ui/ space_view3d.py: fix for python UI glitch, need to make view3d active_pchan & active_bone's ( since they dont check layers atm)
Campbell Barton
ideasman42 at gmail.com
Mon Nov 16 11:10:30 CET 2009
Revision: 24583
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24583
Author: campbellbarton
Date: 2009-11-16 11:10:29 +0100 (Mon, 16 Nov 2009)
Log Message:
-----------
fix for python UI glitch, need to make view3d active_pchan & active_bone's (since they dont check layers atm)
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_view3d.py
Modified: trunk/blender/release/scripts/ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d.py 2009-11-16 09:20:21 UTC (rev 24582)
+++ trunk/blender/release/scripts/ui/space_view3d.py 2009-11-16 10:10:29 UTC (rev 24583)
@@ -1381,7 +1381,7 @@
bl_label = "Item"
def poll(self, context):
- return (context.active_object or context.active_bone or context.active_pchan)
+ return (context.active_object and (context.active_bone or context.active_pchan))
def draw(self, context):
layout = self.layout
More information about the Bf-blender-cvs
mailing list