Hi, In trunk we import "from bpy.types import Panel" at the beginning of the file and the use "Panel" only.
Regards, Thomas Am 26.09.2011 16:02, schrieb Alex Fraser: > 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'} > > > _______________________________________________ > Bf-blender-cvs mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-blender-cvs -- Thomas Dinges Blender Developer, Artist and Musician www.dingto.org _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
