Page MenuHome

Outliner: Make Single User - Layer Collection
Needs ReviewPublic

Authored by Dalai Felinto (dfelinto) on Fri, Nov 29, 5:26 PM.

Details

Reviewers
None
Group Reviewers
User Interface
Summary

Todos after this commit:

  • Support Scene Collections
  • Popup to do it recursively (collections and objects?)
  • Do something similar for objects inside a collection.

Diff Detail

Repository
rB Blender
Branch
outliner-make-single-user (branched from master)
Build Status
Buildable 5856
Build 5856: arc lint + arc unit

Event Timeline

My test file:

In the outliner: Strawberry collection RMB ID Data > Make Single User.

Questions:

  1. If I try to make single user of the instanced collection (Ice Cream > Empty > Strawberry) should that work? What do we expect in this case (my case is that in this case the collection start to exist only in bpy.data.

@William Reynish (billreynish) have any thoughts on the funcionality here? This is a bit advanced, but I can think of a few cases where we may need single user for collections and users from the outliner.

Update: Using id_us_min/plus api

For the records: P1172 (started the implementation for recursive collections preserving the layer collection flags).