diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-17 10:22:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-17 10:22:20 +0300 |
commit | acc883da83b5fa7839a094e8dbf259077ca64f2e (patch) | |
tree | 176ca64dc04a5063204883f22b4e38ad179272d8 /release | |
parent | fbcf01f9f77280e81ffc48ef9cbe4a0dae234a50 (diff) |
- move cmake file for python.
- move bpy_array.c to bpy_rna_array.c
- minor syntax changes
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/wm.py | 4 | ||||
-rw-r--r-- | release/scripts/ui/space_view3d.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index a382cab40a3..c6fe66d8909 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -268,8 +268,8 @@ class WM_OT_context_toggle_enum(bpy.types.Operator): class WM_OT_context_cycle_int(bpy.types.Operator): - '''Set a context value. Useful for cycling active material, - vertex keys, groups' etc.''' + '''Set a context value. Useful for cycling active material, ''' + '''vertex keys, groups' etc.''' bl_idname = "wm.context_cycle_int" bl_label = "Context Int Cycle" bl_options = {'UNDO'} diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index f825a1e174e..e44b4220829 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -1439,7 +1439,7 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy.types.Operator): totvert = mesh.total_vert_sel if select_mode[2] and totface == 1: - return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": "NORMAL", "constraint_axis": [False, False, True]}) + return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": 'NORMAL', "constraint_axis": (False, False, True)}) elif select_mode[2] and totface > 1: return bpy.ops.mesh.extrude_faces_move('INVOKE_REGION_WIN') elif select_mode[1] and totedge >= 1: @@ -1464,9 +1464,9 @@ class VIEW3D_OT_edit_mesh_extrude_move(bpy.types.Operator): totvert = mesh.total_vert_sel if totface >= 1: - return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": "NORMAL", "constraint_axis": [False, False, True]}) + return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": 'NORMAL', "constraint_axis": (False, False, True)}) elif totedge == 1: - return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": "NORMAL", "constraint_axis": [True, True, False]}) + return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN', TRANSFORM_OT_translate={"constraint_orientation": 'NORMAL', "constraint_axis": (True, True, False)}) else: return bpy.ops.mesh.extrude_region_move('INVOKE_REGION_WIN') |