diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 17:37:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 17:37:21 +0300 |
commit | 510c0facdf809bcf2023d9f09630cf948e3f2e62 (patch) | |
tree | 55d6fdaaec9adc60a1662bf77361d2f656701f14 /release | |
parent | ac0039bfdb2feb8aa4c57894108e10ce8cef0079 (diff) |
operator renaming for more consistent word ordering (_add/_remmove shold be last, ACT_OT_* --> ACTION_OT_*)
ACT_OT_clean --> ACTION_OT_clean
ACT_OT_clickselect --> ACTION_OT_clickselect
ACT_OT_copy --> ACTION_OT_copy
ACT_OT_delete --> ACTION_OT_delete
ACT_OT_duplicate --> ACTION_OT_duplicate
ACT_OT_extrapolation_type --> ACTION_OT_extrapolation_type
ACT_OT_frame_jump --> ACTION_OT_frame_jump
ACT_OT_handle_type --> ACTION_OT_handle_type
ACT_OT_insert_keyframe --> ACTION_OT_insert_keyframe
ACT_OT_insert_keyframe --> ACT_OT_keyframe_insert
ACT_OT_interpolation_type --> ACTION_OT_interpolation_type
ACT_OT_keyframe_type --> ACTION_OT_keyframe_type
ACT_OT_mirror --> ACTION_OT_mirror
ACT_OT_new --> ACTION_OT_new
ACT_OT_paste --> ACTION_OT_paste
ACT_OT_previewrange_set --> ACTION_OT_previewrange_set
ACT_OT_properties --> ACTION_OT_properties
ACT_OT_sample --> ACTION_OT_sample
ACT_OT_select_all_toggle --> ACTION_OT_select_all_toggle
ACT_OT_select_border --> ACTION_OT_select_border
ACT_OT_select_column --> ACTION_OT_select_column
ACT_OT_snap --> ACTION_OT_snap
ACT_OT_test --> ACTION_OT_test
ACT_OT_unlink --> ACTION_OT_unlink
ACT_OT_view_all --> ACTION_OT_view_all
ANIM_OT_add_driver_button --> ANIM_OT_driver_button_add
ANIM_OT_add_keyingset_button --> ANIM_OT_keyingset_button_add
ANIM_OT_delete_keyframe --> ANIM_OT_keyframe_delete
ANIM_OT_delete_keyframe_button --> ANIM_OT_keyframe_delete_button
ANIM_OT_delete_keyframe_v3d --> ANIM_OT_keyframe_delete_v3d
ANIM_OT_insert_keyframe --> ANIM_OT_keyframe_insert
ANIM_OT_insert_keyframe_button --> ANIM_OT_keyframe_insert_button
ANIM_OT_insert_keyframe_menu --> ANIM_OT_keyframe_insert_menu
ANIM_OT_remove_driver_button --> ANIM_OT_driver_button_remove
ANIM_OT_remove_keyingset_button --> ANIM_OT_keyingset_button_remove
FILE_OT_add_bookmark --> FILE_OT_bookmark_add
GRAPH_OT_insert_keyframe --> GRAPH_OT_keyframe_insert
NLA_OT_add_actionclip --> NLA_OT_actionclip_add
NLA_OT_add_meta --> NLA_OT_meta_add
NLA_OT_add_tracks --> NLA_OT_tracks_add
NLA_OT_add_transition --> NLA_OT_transition_add
NLA_OT_remove_meta --> NLA_OT_meta_remove
PARTICLE_OT_remove_target --> PARTICLE_OT_target_remove
PTCACHE_OT_add_new --> PTCACHE_OT_add
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/import_anim_bvh.py | 6 | ||||
-rw-r--r-- | release/scripts/ui/properties_particle.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/properties_physics_common.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/space_outliner.py | 4 | ||||
-rw-r--r-- | release/scripts/ui/space_time.py | 4 | ||||
-rw-r--r-- | release/scripts/ui/space_view3d.py | 8 | ||||
-rw-r--r-- | release/scripts/ui/space_view3d_toolbar.py | 8 |
7 files changed, 17 insertions, 17 deletions
diff --git a/release/scripts/io/import_anim_bvh.py b/release/scripts/io/import_anim_bvh.py index 0eff15f9ba1..9f7063b24cf 100644 --- a/release/scripts/io/import_anim_bvh.py +++ b/release/scripts/io/import_anim_bvh.py @@ -485,7 +485,7 @@ def bvh_node_dict2armature(context, bvh_nodes, IMPORT_START_FRAME= 1, IMPORT_LOO bpy.ops.pose.select_all_toggle() # set - bpy.ops.anim.insert_keyframe_menu(type=-4) # XXX - -4 ??? + bpy.ops.anim.keyframe_insert_menu(type=-4) # XXX - -4 ??? @@ -498,7 +498,7 @@ def bvh_node_dict2armature(context, bvh_nodes, IMPORT_START_FRAME= 1, IMPORT_LOO #XXX action = Blender.Armature.NLA.NewAction("Action") #XXX action.setActive(arm_ob) - #bpy.ops.act.new() + #bpy.ops.action.new() #action = bpy.data.actions[-1] # arm_ob.animation_data.action = action @@ -617,7 +617,7 @@ def bvh_node_dict2armature(context, bvh_nodes, IMPORT_START_FRAME= 1, IMPORT_LOO - # bpy.ops.anim.insert_keyframe_menu(type=-4) # XXX - -4 ??? + # bpy.ops.anim.keyframe_insert_menu(type=-4) # XXX - -4 ??? bpy.ops.screen.frame_offset(delta=1) # First time, set the IPO's to linear diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index 1b4ba95f540..d95455f7c10 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -454,7 +454,7 @@ class PARTICLE_PT_physics(ParticleButtonsPanel): sub = col.row() subsub = sub.column(align=True) subsub.operator("particle.new_target", icon='ICON_ZOOMIN', text="") - subsub.operator("particle.remove_target", icon='ICON_ZOOMOUT', text="") + subsub.operator("particle.target_remove", icon='ICON_ZOOMOUT', text="") sub = col.row() subsub = sub.column(align=True) subsub.operator("particle.target_move_up", icon='VICON_MOVE_UP', text="") diff --git a/release/scripts/ui/properties_physics_common.py b/release/scripts/ui/properties_physics_common.py index d1720a2c323..7c1d71302ec 100644 --- a/release/scripts/ui/properties_physics_common.py +++ b/release/scripts/ui/properties_physics_common.py @@ -30,7 +30,7 @@ def point_cache_ui(self, context, cache, enabled, particles, smoke): row = layout.row() row.template_list(cache, "point_cache_list", cache, "active_point_cache_index", rows=2) col = row.column(align=True) - col.operator("ptcache.add_new", icon='ICON_ZOOMIN', text="") + col.operator("ptcache.add", icon='ICON_ZOOMIN', text="") col.operator("ptcache.remove", icon='ICON_ZOOMOUT', text="") row = layout.row() diff --git a/release/scripts/ui/space_outliner.py b/release/scripts/ui/space_outliner.py index 5cb8721603d..a398bc66f45 100644 --- a/release/scripts/ui/space_outliner.py +++ b/release/scripts/ui/space_outliner.py @@ -53,8 +53,8 @@ class OUTLINER_HT_header(bpy.types.Header): row.prop_object(scene, "active_keying_set", scene, "keying_sets", text="") row = layout.row(align=True) - row.operator("anim.insert_keyframe", text="", icon='ICON_KEY_HLT') - row.operator("anim.delete_keyframe", text="", icon='ICON_KEY_DEHLT') + row.operator("anim.keyframe_insert", text="", icon='ICON_KEY_HLT') + row.operator("anim.keyframe_delete", text="", icon='ICON_KEY_DEHLT') else: row = layout.row(align=False) row.label(text="No Keying Set active") diff --git a/release/scripts/ui/space_time.py b/release/scripts/ui/space_time.py index de8d1eb96ab..938a365ed3a 100644 --- a/release/scripts/ui/space_time.py +++ b/release/scripts/ui/space_time.py @@ -78,8 +78,8 @@ class TIME_HT_header(bpy.types.Header): row = layout.row(align=True) row.prop_object(scene, "active_keying_set", scene, "keying_sets", text="") - row.operator("anim.insert_keyframe", text="", icon='ICON_KEY_HLT') - row.operator("anim.delete_keyframe", text="", icon='ICON_KEY_DEHLT') + row.operator("anim.keyframe_insert", text="", icon='ICON_KEY_HLT') + row.operator("anim.keyframe_delete", text="", icon='ICON_KEY_DEHLT') class TIME_MT_view(bpy.types.Menu): diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index 03bb635d5b0..de186f4b8a7 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -580,8 +580,8 @@ class VIEW3D_MT_object(bpy.types.Menu): layout.separator() - layout.operator("anim.insert_keyframe_menu", text="Insert Keyframe...") - layout.operator("anim.delete_keyframe_v3d", text="Delete Keyframe...") + layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe...") + layout.operator("anim.keyframe_delete_v3d", text="Delete Keyframe...") layout.separator() @@ -873,8 +873,8 @@ class VIEW3D_MT_pose(bpy.types.Menu): layout.separator() - layout.operator("anim.insert_keyframe_menu", text="Insert Keyframe...") - layout.operator("anim.delete_keyframe_v3d", text="Delete Keyframe...") + layout.operator("anim.keyframe_insert_menu", text="Insert Keyframe...") + layout.operator("anim.keyframe_delete_v3d", text="Delete Keyframe...") layout.separator() diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py index 012a4a18fdd..533ff496c08 100644 --- a/release/scripts/ui/space_view3d_toolbar.py +++ b/release/scripts/ui/space_view3d_toolbar.py @@ -57,8 +57,8 @@ class VIEW3D_PT_tools_objectmode(View3DPanel): col = layout.column(align=True) col.label(text="Keyframes:") - col.operator("anim.insert_keyframe_menu", text="Insert") - col.operator("anim.delete_keyframe_v3d", text="Remove") + col.operator("anim.keyframe_insert_menu", text="Insert") + col.operator("anim.keyframe_delete_v3d", text="Remove") col = layout.column(align=True) col.label(text="Repeat:") @@ -430,8 +430,8 @@ class VIEW3D_PT_tools_posemode(View3DPanel): col = layout.column(align=True) col.label(text="Keyframes:") - col.operator("anim.insert_keyframe_menu", text="Insert") - col.operator("anim.delete_keyframe_v3d", text="Remove") + col.operator("anim.keyframe_insert_menu", text="Insert") + col.operator("anim.keyframe_delete_v3d", text="Remove") col = layout.column(align=True) col.label(text="Repeat:") |