Page MenuHome

Add smart behavior (linking/instanciation) when pasting a collection in the Outliner or the 3DView
Confirmed, NormalPublicTO DO

Description

System Information
Operating system: Linux-4.15.0-55-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.26

Blender Version
Broken: version: 2.81 (sub 4), branch: master, commit date: 2019-09-01 07:31, hash: rBae43b1d51b4a
Worked: Never

Short description of error
Copied Collection does not paste correctly in the Outliner

Exact steps for others to reproduce the error
Copy a Collection from the Outliner and Past it in the Outliner - Collection doesn't shown in the 'View Layer' but in 'Orphan Data'

Event Timeline

The Bug Is still here

SABRI Salim (salim3d) renamed this task from Copy Past in the Outliner to Copy Past Collection in the Outliner.Sep 9 2019, 10:59 PM
SABRI Salim (salim3d) updated the task description. (Show Details)
Dalai Felinto (dfelinto) renamed this task from Copy Past Collection in the Outliner to Copy Paste Collection in the Outliner.Sep 17 2019, 7:06 PM
Dalai Felinto (dfelinto) updated the task description. (Show Details)
Dalai Felinto (dfelinto) lowered the priority of this task from 90 to Low.Sep 17 2019, 7:09 PM

@Nathan Craddock (Zachman) is this something you would be interested on?
@William Reynish (billreynish) do we have a clear design on what to do here? It seems that copy/paste for collections is undefined everywhere (e.g., in the viewport is simply paste the objects)

@Dalai Felinto (dfelinto) indeed we should make copy/paste work correctly for Collections in the Outliner. I can’t imagine we’d need a whole design task for it, is there anything that isn’t clear here?

@William Reynish (billreynish) what is not clear:

  • What do we expect when copy/paste in outliner?

My suggestion: We copy the collection and add it inside the current selected collection?

  • What do we do when copy in outliner but paste in viewport?

My suggestion: Instance the collection

I'm not strongly committed to either suggestion just the first thing that came to my mind. @Brecht Van Lommel (brecht) any 2 cents?

@Dalai Felinto (dfelinto) I'm willing to look at this, and I think instancing on paste in the viewport makes sense, though I imagine a paste in the outliner would duplicate the collection on the same level as the copied collection.

(...) paste in the outliner would duplicate the collection on the same level as the copied collection.

This is already covered by duplicate. If you copy from a .blend file and paste in another this won't work.

The way I see working elsewhere is to paste in the same level as the current selected element (which by the way is a great concept to determine what is the active collection when not explicitly selecting it).

In my opinion this confuses the user. I know the intention behind it to differ between the current focus (Outliner or Viewport) and do somethings that "may" be interesting for the user.
In your case: Make an instance when the viewport is focused and a copy when the outliner is focused.

But I think it would be better to simply do what what the user expects behind a command.

So my proposal for the commands and the results:
"Copy command" -> Copy a collection / an object and Paste it as a real duplicate(a copy).
"Link/Instance" command -> Make a linked version of the collection / or an Instance an object, when the user Paste it into the target.

Please don't do something that is different to the command.

Dalai Felinto (dfelinto) raised the priority of this task from Low to Normal.Jan 22 2020, 12:33 PM
Dalai Felinto (dfelinto) changed the subtype of this task from "Known Issue" to "Bug".

This is the kind of thing that @Nathan Craddock (Zachman) may be interested/persuaded to look at.

Bastien Montagne (mont29) changed the subtype of this task from "Bug" to "To Do".Feb 19 2020, 3:34 PM

This is really not a bug at all, copy/paste is working as expected. Adding smart behavior when pasting a collection is for sure a nice TODO, but there is no bug in current behavior.

Bastien Montagne (mont29) renamed this task from Copy Paste Collection in the Outliner to Add smart behavior (linking/instanciation) when pasting a collection in the Outliner or the 3DView.Feb 19 2020, 3:34 PM
Bastien Montagne (mont29) moved this task from Bugs to TODO's on the Data, Assets & I/O board.