Page MenuHome

Outliner displaying same object twice
Closed, ResolvedPublic


System Information
Linux, GTX 1080

Blender Version
Broken: 2.80 (10d7ebc469b)

Short description of error
If there are zero collections in the blend file, the Outliner shows the oldest object in the scene twice.
Deleting one also removes the other. The weird thing is that deleting the collection triggers the bug, even if the object wasn't part of it, or even created after the collection was deleted.

Exact steps for others to reproduce the error

  1. Just delete the default Collection.

Possibly related:

  1. Creating a new Collection and linking it to the scene hides all other objects in the Outliner, except this oldest one, except in View Layer mode.

Event Timeline

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.

Can confirm.
Seems to be "Scenes" display_mode only though? (BlenderFile > Objects or Data API > Objects dont seem to have the duplicate entry -- and View Layer is also fine as @Sam Van Hulle (sam_vh) already mentioned)

bpy.context.scene.objects lenght actually increase whereas doesnt.

If I skip BKE_libblock_remap() in BKE_libblock_delete() [called at the end of BKE_collection_delete()] that doesnt happen...

@Bastien Montagne (mont29): mind having a look?

Bastien Montagne (mont29) lowered the priority of this task from Confirmed, Medium to Needs Information from User.Nov 14 2018, 1:58 PM

Cannot reproduce that with current master, does it still happen for you?

Brecht Van Lommel (brecht) raised the priority of this task from Needs Information from User to Confirmed, Medium.

I can still reproduce it. Note you need to go to the Scenes view of the outliner.