From: <au...@us...> - 2011-05-29 17:08:14
|
Revision: 8737 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=8737&view=rev Author: auria Date: 2011-05-29 17:08:08 +0000 (Sun, 29 May 2011) Log Message: ----------- Minor improvement to STK panel Modified Paths: -------------- media/trunk/blender_25/stk_panel.py Modified: media/trunk/blender_25/stk_panel.py =================================================================== --- media/trunk/blender_25/stk_panel.py 2011-05-29 17:03:57 UTC (rev 8736) +++ media/trunk/blender_25/stk_panel.py 2011-05-29 17:08:08 UTC (rev 8737) @@ -616,8 +616,13 @@ bl_context = "object" def draw(self, context): + layout = self.layout + if "is_stk_track" not in context.scene or context.scene["is_stk_track"] != "true": + layout.label("(Not a SuperTuxKart track)") + return + obj = context.object if obj is not None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |