diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-10-21 09:59:51 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-10-21 09:59:51 +0400 |
commit | ddb1f64fff1c4ea9c0f93e71d89996d1144af671 (patch) | |
tree | 2fc387410aa72fa44f4af3532035710feb830deb /source/blender/editors/space_outliner/outliner_ops.c | |
parent | 908061378c9dd56bd2f1408ac0d3072c5464c72d (diff) |
Outliner: Tweaks for Driver Operators
* Driver adding/removing operators in the Outliner now work properly for arrays
* Renamed these operators so that their names are more indicative of how they work (i.e. based on the data in the Outliner that is selected)
* Added a menu labelled 'Edit' in the Datablocks view which gives access to (and includes the hotkeys for) these tools.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_ops.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c index 3cdd054fe0e..431801d50f2 100644 --- a/source/blender/editors/space_outliner/outliner_ops.c +++ b/source/blender/editors/space_outliner/outliner_ops.c @@ -70,8 +70,8 @@ void outliner_operatortypes(void) WM_operatortype_append(OUTLINER_OT_keyingset_add_selected); WM_operatortype_append(OUTLINER_OT_keyingset_remove_selected); - WM_operatortype_append(OUTLINER_OT_drivers_add); - WM_operatortype_append(OUTLINER_OT_drivers_delete); + WM_operatortype_append(OUTLINER_OT_drivers_add_selected); + WM_operatortype_append(OUTLINER_OT_drivers_delete_selected); } void outliner_keymap(wmKeyConfig *keyconf) @@ -110,7 +110,7 @@ void outliner_keymap(wmKeyConfig *keyconf) WM_keymap_verify_item(keymap, "ANIM_OT_insert_keyframe", IKEY, KM_PRESS, 0, 0); WM_keymap_verify_item(keymap, "ANIM_OT_delete_keyframe", IKEY, KM_PRESS, KM_ALT, 0); - WM_keymap_verify_item(keymap, "OUTLINER_OT_drivers_add", DKEY, KM_PRESS, 0, 0); - WM_keymap_verify_item(keymap, "OUTLINER_OT_drivers_delete", DKEY, KM_PRESS, KM_ALT, 0); + WM_keymap_verify_item(keymap, "OUTLINER_OT_drivers_add_selected", DKEY, KM_PRESS, 0, 0); + WM_keymap_verify_item(keymap, "OUTLINER_OT_drivers_delete_selected", DKEY, KM_PRESS, KM_ALT, 0); } |