Outliner collection / object duplicate hierarchy #57064
Labels
No Label
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Content
Type
Design
Type
Report
Type
To Do
Type
Web Development
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio#57064
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be useful to be able to duplicate an entire hierarchy of collections of objects.
Added subscriber: @brecht
Added subscribers: @dfelinto, @JulienKaspar
I'm beginning to think this should be a sub-menu when right clicking a collection in the outliner instead of a separate "Duplicate Hierarchy" option.
Somewhat like this?
Duplicate =
I have no idea about the naming right now.
@dfelinto What do you think about this whole thing?
Added subscriber: @WilliamReynish
@JulienKaspar I like the idea, and in fact got Duplicate Linked Hierarchy to work here (not committed yet). Duplicate Hierarchy is more tricky, but I'm trying to find a way to do it while keeping the code manageable.
@WilliamReynish any remarks on that task?
No remarks. This makes sense to add.
@JulienKaspar what is your thought on the "Duplicate" operator? As far as its children collections are concerned?
Right now we are literally linking the old nested collections inside the new one parent collection.
(it is a bit complicated to explain, easier if you try in 2.80 without the patch even).
@dfelinto I never really saw the current "Duplicate"operator in the outliner as that useful in comparison to a proper "duplicate hierarchy" or "duplicate linked hierarchy" operator.
It can become useful sometimes but often isn't even that much of a time saver in comparison to just creating a new collection, box selecting the old contents you need and LMB + Ctrl dragging them to the new one.
Right, but part of this is because its current functionality is really that limited.
If we were to change it (e.g., copy collections as new collections, respecting hierarchy, but leave the same objects linked) it would be useful no?
Yes I guess that would be more useful than the current way it works but I can't remember if I ever needed that kind of operator. This would be for very specific corner cases.
Changed status from 'Open' to: 'Resolved'
Committed:
I end up removing the original operator. It was indeed useless. Now collection follows the logic of objects (as far as UI goes), so only duplicate collection and duplicate linked options.
@dfelinto Just tried it out and it works great! One confusing thing is the name "Duplicate Collection". It implies that only that collection will be duplicated instead of the entire hierarchy.
I think overall the naming and tooltips are becoming a bit confusing but that's perhaps a different issue.
What about:
As the two options?
Sounds good I think with those new names.
Maybe.
The naming for delete is pretty clear: "Delete" for the what you selected and "Delete Hierarchy" for the entire Hierarchy of the selection.
"Duplicate Linked" doesn't imply the hierarchy part. It could just as well be the default duplicate linked operator for objects.
Naming it "Duplicate Hierarchy Linked" is clearer but maybe too long?
I think there should eventually be a place for the default operators "Duplicate Objects" and "Duplicate Linked" in the outliner as well so the new ones should be compatible in terms of naming with those.
Added subscriber: @nokipaike
please, duplicate and also istantiate
it would be useful to use "shift or ctrl or alt + drag" to duplicate or instantiate, as happens with icons in operating systems, and a third combination needed for a menu appears asking if you want to duplicate or instantiate
This issue was referenced by blender/cycles@12e2570d0d