[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40568] branches/soc-2011-cucumber/release /scripts/startup/bl_ui/properties_game.py: Using fully-qualified bpy.types. Panel instead of Panel.

Alex Fraser alex at phatcore.com
Mon Sep 26 16:02:56 CEST 2011


Revision: 40568
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40568
Author:   z0r
Date:     2011-09-26 14:02:56 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
Using fully-qualified bpy.types.Panel instead of Panel. This was preventing
all panels from drawing.

Modified Paths:
--------------
    branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py

Modified: branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py
===================================================================
--- branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py	2011-09-26 13:24:42 UTC (rev 40567)
+++ branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_game.py	2011-09-26 14:02:56 UTC (rev 40568)
@@ -222,7 +222,7 @@
         row.prop(game, "use_collision_compound", text="Compound")
 
 
-class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel):
+class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, bpy.types.Panel):
     bl_label = "Create Obstacle"
     COMPAT_ENGINES = {'BLENDER_GAME'}
 
@@ -464,7 +464,7 @@
         col.prop(gs, "restrict_animation_updates")
 
 
-class RENDER_PT_game_display(RenderButtonsPanel, Panel):
+class RENDER_PT_game_display(RenderButtonsPanel, bpy.types.Panel):
     bl_label = "Display"
     COMPAT_ENGINES = {'BLENDER_GAME'}
 
@@ -677,7 +677,7 @@
             col.prop(gs, "logic_step_max", text="Max")
 
 
-class WORLD_PT_game_physics_obstacles(WorldButtonsPanel, Panel):
+class WORLD_PT_game_physics_obstacles(WorldButtonsPanel, bpy.types.Panel):
     bl_label = "Obstacle simulation"
     COMPAT_ENGINES = {'BLENDER_GAME'}
 




More information about the Bf-blender-cvs mailing list