Page MenuHome

Copy Pasting does not respect layers.
Closed, ArchivedPublic

Description

System Information
Windows 7 x64 gtx 580

Blender Version
Broken: b0a7e77
Worked: ad6b7c0

Short description of error
Copy pasting no longer honors the layer it was on for all objects. This is not too much of a problem as we will need to copy and paste with greater care to make sure objects are staying on the same layers... however, it is a significant problem when dealing with dupligroups. the original object also ends up on the layer visible. This should not be the case, as we have a layer dedicated to these objects which shouldnt be rendered but are referenced at rendertime.

Exact steps for others to reproduce the error

  1. open attached blend file
  2. copy the object on layer two (empty with dupligroup)
  3. open new blend file and delete everything
  4. make sure only layer 1 is active
  5. paste
  6. notice how layer one now contains the empty as well as the dupligroup

What is expected (ideally)
layer one would not contain any objects, layer 2 would have the empty and layer 10 would have the mesh

What would also be fine
layer one would contain the empty and layer 10 would have the mesh

Event Timeline

I can not reproduce this here.
Windows 10 Pro 64bits
Blender 2.77 (sub 0), commit date: 2016-04-04 23:20, hash: 9c952bb

I suggest that you try the latest buildbot version.

I have just tried with 9c952bb and have found that it still has the problem

What layers is the empty ending up on and what layer is the mesh ending up on?

I have also reset my user prefs to see if there was a conflict with a plugin, still an issue

1.open attached file. and copy object.


2.restart blender

3.delete all objects

4.paste

Correct, you also are experiencing the issue.

The dupligroup mesh should NOT be on layer 1. it should be on layer 10.

Ideally the empty should also not be on layer 1, it should be on layer 2... but i can see the argument for making it on layer one.

The dupligroup mesh should NOT be moved between layers, this will result in the dupligroup mesh being on the wrong layer and be visible in renders when it should not be.

Because it is pasted on chosen layer, I think that this is right.

But thats the thing... the dupligroup actual objects (not empties referencing the dupligroup) should not be rendered, so moving them onto a layer which is renderable is is unintuitive.

I do not know whether there is a document about copy&paste.
It will be recognized whether this is a bug if there is it.

There's an option called "Active Layer" which was added in rB4ef918d which was added on artists requests. f you disable that option then you'll have old behavior.

Bastien Montagne (mont29) changed the task status from Unknown Status to Archived.Apr 5 2016, 2:04 PM
Bastien Montagne (mont29) claimed this task.

We could switch those new options to OFF by default, but then we’d have different defaults for copy/paste and append/link, which would be bad too… Also, those settings should be 'remembered' after being set the first time, so think we can keep things as they are. Not a bug in any case.

Thanks, I did not know about that option.

Would it be possible to control the default value via the user prefs (or via python?)

EDIT: you can change the hotkeys default setting in the user prefs... go into input, search for paste selection, expand options, disable active layer