diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-08 19:13:33 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-08 19:53:31 +0300 |
commit | 457ecc68259afae74fde9e475ce86e0b472c5f50 (patch) | |
tree | c92f010b1bcf0a47ec8739f6f803d8be013ca968 /source/blender/blenkernel/intern/collection.c | |
parent | 13978f7ff6819e255601f5e5c42d540472c18afb (diff) |
Partially revert "Collection duplication from Outliner: add a 'duplicate hierarchy' operation."
This partially reverts commit a77feabb51470b9cfb71be7f0ea7e774d6591799,
removing the shallow 'duplicate hierarchy' option from outliner.
Core changes from that commit in BKE_collections are kept.
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index 8a71c0c2e10..a4d2ee55de1 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -298,9 +298,11 @@ Collection *BKE_collection_copy(Main *bmain, Collection *parent, Collection *col * * \warning If any 'deep copy' behavior is enabled, this functions will clear all \a bmain id.idnew pointers. * - * \param do_hierarchy If true, it will recursively make shallow copies of children collections and objects. + * \param do_hierarchy If true, it will recursively make shallow copies of children collections. + * \param do_objects If true, it will also make duplicates of objects. + * This one does nothing if \a do_hierarchy is not set. * \param do_obdata If true, it will also make deep duplicates of objects, using behavior defined in user settings - * (U.dupflag). This one does nothing if \a do_hierarchy is not set. + * (U.dupflag). This one does nothing if \a do_hierarchy and \a do_objects are not set. */ Collection *BKE_collection_duplicate( Main *bmain, Collection *parent, Collection *collection, |