pedantic pep8 warnings, mostly white space.

This commit is contained in:
Campbell Barton
2010-07-05 22:22:22 +00:00
parent 4926667018
commit d9f86e3c73
11 changed files with 69 additions and 64 deletions

View File

@@ -732,7 +732,7 @@ class VIEW3D_MT_object_specials(bpy.types.Menu):
props.data_path_item = "data.dof_distance"
props.input_scale = 0.02
if obj.type in ['CURVE','TEXT']:
if obj.type in ('CURVE','TEXT'):
layout.operator_context = 'INVOKE_REGION_WIN'
props = layout.operator("wm.context_modal_mouse", text="Extrude Size")
@@ -760,7 +760,7 @@ class VIEW3D_MT_object_specials(bpy.types.Menu):
props.data_path_iter = "selected_editable_objects"
props.data_path_item = "data.energy"
if obj.data.type in ['SPOT','AREA','POINT']:
if obj.data.type in ('SPOT', 'AREA', 'POINT'):
props = layout.operator("wm.context_modal_mouse", text="Falloff Distance")
props.data_path_iter = "selected_editable_objects"
props.data_path_item = "data.distance"