From 94388d69bb8082945e95f1b7583320cd43d90c69 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 21 Mar 2019 14:59:25 +0100 Subject: Add copy/paste of any IDs in Outliner. This adds entries to copy/paste (selected) IDs in the Outliner, as well as usual ctrl-C/ctrl-V shortcuts. Note that the clipboard is shared with other IDs copying (currently, the one for objects in 3DView). Reviewers: brecht, dfelinto, billreynish, pablovazquez Differential Revision: https://developer.blender.org/D4568 --- source/blender/editors/space_outliner/outliner_ops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_outliner/outliner_ops.c') diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c index 5d9437210e2..c14a5eace91 100644 --- a/source/blender/editors/space_outliner/outliner_ops.c +++ b/source/blender/editors/space_outliner/outliner_ops.c @@ -63,6 +63,8 @@ void outliner_operatortypes(void) WM_operatortype_append(OUTLINER_OT_id_operation); WM_operatortype_append(OUTLINER_OT_id_delete); WM_operatortype_append(OUTLINER_OT_id_remap); + WM_operatortype_append(OUTLINER_OT_id_copy); + WM_operatortype_append(OUTLINER_OT_id_paste); WM_operatortype_append(OUTLINER_OT_data_operation); WM_operatortype_append(OUTLINER_OT_animdata_operation); WM_operatortype_append(OUTLINER_OT_action_set); -- cgit v1.2.3