Blender Git Loki
Git Commits -> Revision a77feab
Revision a77feab by Bastien Montagne (master) March 6, 2019, 14:19 (GMT) |
Collection duplication from Outliner: add a 'duplicate hierarchy' operation. Point is, you may want to duplicate your set of collections, but not duplicate all their objects. Some notes: * Am rather skeptical about the practice of using operator name to define behavior of some common exec code. Imho, that should be a single operator with an enum to refine its behavior (@cambpellbarton may also have an opinion here?). Left it as-is for now, because this seems to be used by other operators too in that code. :/ * @dfelinto, @pablovazquez, @billreynish am not so happy with current names, but cannot find really good short ones either... Also, shouldn't we move those into a dedicated `Duplicate` sub-menu? |
Commit Details:
Full Hash: a77feabb51470b9cfb71be7f0ea7e774d6591799
Parent Commit: 8462f0e
Lines Changed: +55, -30
6 Modified Paths:
/release/scripts/startup/bl_ui/space_outliner.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_collection.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/collection.c (+23, -19) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+23, -7) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -1) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+2, -1) (Diff)
/source/blender/blenkernel/BKE_collection.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/collection.c (+23, -19) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+23, -7) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+2, -1) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+2, -1) (Diff)