pep8 edits
This commit is contained in:
parent
16406dce64
commit
8167d8c2f1
@ -195,6 +195,7 @@ class PHYSICS_PT_game_collision_bounds(PhysicsButtonsPanel, Panel):
|
||||
row.prop(game, "collision_margin", text="Margin", slider=True)
|
||||
row.prop(game, "use_collision_compound", text="Compound")
|
||||
|
||||
|
||||
class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel):
|
||||
bl_label = "Create Obstacle"
|
||||
COMPAT_ENGINES = {'BLENDER_GAME'}
|
||||
@ -221,6 +222,7 @@ class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel):
|
||||
row.prop(game, "obstacle_radius", text="Radius")
|
||||
row.label()
|
||||
|
||||
|
||||
class RenderButtonsPanel():
|
||||
bl_space_type = 'PROPERTIES'
|
||||
bl_region_type = 'WINDOW'
|
||||
@ -388,11 +390,13 @@ class RENDER_PT_game_display(RenderButtonsPanel, Panel):
|
||||
flow.prop(gs, "use_deprecation_warnings")
|
||||
flow.prop(gs, "show_mouse", text="Mouse Cursor")
|
||||
|
||||
|
||||
class SceneButtonsPanel():
|
||||
bl_space_type = 'PROPERTIES'
|
||||
bl_region_type = 'WINDOW'
|
||||
bl_context = "scene"
|
||||
|
||||
|
||||
class SCENE_PT_game_navmesh(SceneButtonsPanel, bpy.types.Panel):
|
||||
bl_label = "Navigation mesh"
|
||||
bl_default_closed = True
|
||||
@ -574,6 +578,7 @@ class WORLD_PT_game_physics(WorldButtonsPanel, Panel):
|
||||
col.label(text="Logic Steps:")
|
||||
col.prop(gs, "logic_step_max", text="Max")
|
||||
|
||||
|
||||
class WORLD_PT_game_physics_obstacles(WorldButtonsPanel, Panel):
|
||||
bl_label = "Obstacle simulation"
|
||||
COMPAT_ENGINES = {'BLENDER_GAME'}
|
||||
|
Loading…
Reference in New Issue
Block a user