Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-02-06 23:27:26 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-02-06 23:39:14 +0300
commit77b61b554ca10353b408645e3316e06c8d240388 (patch)
tree91d3c613b5b47e85ca7163c06673f5b63ea00602 /source/blender/editors/space_outliner/outliner_intern.h
parent107486e67378779cd53d13c91df5afb1c858c1fa (diff)
Outliner: Add object(s) to new collection
Suggested by Pablo Vazquez (venomgfx). The idea here is that it should be easy to work in the outliner by picking a bunch of objects and adding them to a new collection. Where is the new collection? In the same level as the "outliner active" object. Note, since the outliner has no pure concept of an active object, I'm using the highlight tag for this. Hopefully it works fine. It should work in "Collections", "View Layer", and "Groups". Only when collections are not filtered out.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_intern.h')
-rw-r--r--source/blender/editors/space_outliner/outliner_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h
index 78ed6b07571..148af52050d 100644
--- a/source/blender/editors/space_outliner/outliner_intern.h
+++ b/source/blender/editors/space_outliner/outliner_intern.h
@@ -356,6 +356,7 @@ void OUTLINER_OT_collection_new(struct wmOperatorType *ot);
void OUTLINER_OT_collection_duplicate(struct wmOperatorType *ot);
void OUTLINER_OT_collection_objects_remove(struct wmOperatorType *ot);
void OUTLINER_OT_collection_objects_select(struct wmOperatorType *ot);
+void OUTLINER_OT_object_add_to_new_collection(struct wmOperatorType *ot);
void OUTLINER_OT_object_remove_from_collection(struct wmOperatorType *ot);
void OUTLINER_OT_collection_objects_add(struct wmOperatorType *ot);