forked from bartvdbraak/blender
stule cleanup: pep8
This commit is contained in:
parent
7a87b89a60
commit
2691483e35
@ -653,13 +653,14 @@ class WORLD_PT_game_physics_obstacles(WorldButtonsPanel, Panel):
|
|||||||
layout.prop(gs, "level_height")
|
layout.prop(gs, "level_height")
|
||||||
layout.prop(gs, "show_obstacle_simulation")
|
layout.prop(gs, "show_obstacle_simulation")
|
||||||
|
|
||||||
|
|
||||||
class DataButtonsPanel():
|
class DataButtonsPanel():
|
||||||
bl_space_type = 'PROPERTIES'
|
bl_space_type = 'PROPERTIES'
|
||||||
bl_region_type = 'WINDOW'
|
bl_region_type = 'WINDOW'
|
||||||
bl_context = "data"
|
bl_context = "data"
|
||||||
|
|
||||||
|
|
||||||
class DATA_PT_shadow_game(DataButtonsPanel, bpy.types.Panel):
|
class DATA_PT_shadow_game(DataButtonsPanel, Panel):
|
||||||
bl_label = "Shadow"
|
bl_label = "Shadow"
|
||||||
COMPAT_ENGINES = {'BLENDER_GAME'}
|
COMPAT_ENGINES = {'BLENDER_GAME'}
|
||||||
|
|
||||||
|
@ -110,7 +110,6 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel, Panel):
|
|||||||
col.prop(coll, "collision_type")
|
col.prop(coll, "collision_type")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class PHYSICS_PT_smoke_groups(PhysicButtonsPanel, Panel):
|
class PHYSICS_PT_smoke_groups(PhysicButtonsPanel, Panel):
|
||||||
bl_label = "Smoke Groups"
|
bl_label = "Smoke Groups"
|
||||||
bl_options = {'DEFAULT_CLOSED'}
|
bl_options = {'DEFAULT_CLOSED'}
|
||||||
|
@ -349,7 +349,8 @@ class INFO_MT_render(Menu):
|
|||||||
layout.operator("render.view_show")
|
layout.operator("render.view_show")
|
||||||
layout.operator("render.play_rendered_anim")
|
layout.operator("render.play_rendered_anim")
|
||||||
|
|
||||||
class INFO_MT_window(bpy.types.Menu):
|
|
||||||
|
class INFO_MT_window(Menu):
|
||||||
bl_label = "Window"
|
bl_label = "Window"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
|
Loading…
Reference in New Issue
Block a user