Page MenuHome

Collection Instance object highlight wrong
Open, Confirmed, MediumPublic

Description

System Information
Operating system: elementaryOS 0.4.1
Graphics card: GTX 1080

Blender Version
Broken: 2.80, 259ebdd01725

Worked: did work couple of revisions back

Short description of error
Objects in nested Collections are highlighted wrong when selected. In one case the Empty Axis itself is highlighted correctly, while the outline is not highlighted. In the other case the object gets highlighted when the collection instance is highlighted, even though the object instance isn't even part of the collection. It's kinda hard to describe...

Exact steps for others to reproduce the error
Open this file.


The scene 'Scene.001' is open, where I have created 2 collection instances.
Notice how the object 'cube_instance' has a highlighted origin, but not the outline.
However, if you select the object 'supergroup', there are two cubes highlighted, even though only one of them is actually part of the collection.
The Objects and Collections are setup in the other scene 'Scene'.
Somehow the nesting messes up the selection highlighting.

Details

Type
Bug

Event Timeline

Found an interesting twist to this bug.
I have created a collection instance of the collection 'supergroup' in the first Scene, called 'supergroup_instance'.
If you open this file

,
'supergroup_instance' is selected. But only the Empty crosses of it are highlighted, not the outline.
Now if you exclude the collection 'supergroup' from the viewlayer with the checkmark toggle, 'supergroup_instance' becomes highlighted.
Sounds like something for @Dalai Felinto (dfelinto)? :)

Before getting into your more complicated file I reproduce some strange behaviour that I will look at it first:

To reproduce the bug just select the "A - I have a torus" collection that is INSIDE the "B - I instanced a torus"

What to expect: Nothing gets selected.
What we get: The torus gets selected.

Note: The camera is there so you can reliably reset the selected object.

My suggestion which I will look at:

  1. In View Layer clicking in a collection NEVER select its objects.
  2. In Scenes and Blender File we can keep this behaviour.
  3. Selecting the instance (Empty) itself should should the instanced collection as selected..
Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

I'll mark this as confirmed as it seems like it has been reproduced and a partial fix has already made it in.

Affects me to.
here the step, were it was broken:

Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-11 21:45, hash: rBd93a7290e506
Broken: version: 2.80 (sub 61), branch: blender2.7, commit date: 2019-05-12 22:25, hash: rB05f1451d7248
Worked: version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: rB3dc9da3a74ee

beetween 60 and 61 subversions.

here my test file:

Looks like instance outlines only if first instance selected also,