diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-02-06 18:19:52 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-02-06 18:19:58 +0300 |
commit | 9631c1ac1a8ef2e491310778853b912595e6f3ee (patch) | |
tree | 64257115091229ca35616d410ff21ba325f3d6ee /source/blender/editors/space_outliner/outliner_intern.h | |
parent | 5633bab2d0384fcfc6a96313811fd3d6c8736c10 (diff) |
Outliner: Operator to delete outliner selected elements from collection
Suggested by Pablo Vazquez (venomgfx).
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_intern.h')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h index aa5b4be44ae..25dcda8f959 100644 --- a/source/blender/editors/space_outliner/outliner_intern.h +++ b/source/blender/editors/space_outliner/outliner_intern.h @@ -37,6 +37,7 @@ /* internal exports only */ struct ARegion; +struct ListBase; struct wmOperatorType; struct TreeElement; struct TreeStoreElem; @@ -196,6 +197,12 @@ void outliner_build_tree( struct Scene *scene, struct ViewLayer *view_layer, struct SpaceOops *soops, struct ARegion *ar); +typedef struct ObjectsSelectedData { + struct ListBase objects_selected_array; +} ObjectsSelectedData; + +TreeTraversalAction outliner_find_selected_objects(struct TreeElement *te, void *customdata); + /* outliner_draw.c ---------------------------------------------- */ void draw_outliner(const struct bContext *C); @@ -347,6 +354,7 @@ void OUTLINER_OT_collection_link(struct wmOperatorType *ot); void OUTLINER_OT_collection_unlink(struct wmOperatorType *ot); void OUTLINER_OT_collection_new(struct wmOperatorType *ot); void OUTLINER_OT_collection_duplicate(struct wmOperatorType *ot); +void OUTLINER_OT_collection_object_remove(struct wmOperatorType *ot); void OUTLINER_OT_collection_objects_remove(struct wmOperatorType *ot); void OUTLINER_OT_collection_objects_select(struct wmOperatorType *ot); |