Layers: use IDProperty instead of custom property type
Needs ReviewPublic

Authored by Dalai Felinto (dfelinto) on Fri, Mar 17, 12:24 PM.

Details

Summary

This could use IDProperty even more, by:

  • Use a IDProperty IDP_GROUP instead of a ListBase to store the per

engine settings (optional)

  • Change the doversion/read code so it actually just merge properties as

we do for regular IDProperty (this is a must)

Diff Detail

Repository
rB Blender
Branch
temp-idprop
Build Status
Buildable 500
Build 500: arc lint + arc unit
source/blender/makesdna/DNA_layer_types.h
115–116

note to self: delete this

Everything is an override

This implements the "Layer Collection settings" override system, as
suggested in the "Override Manifesto" document.

The core is working, with Scene, LayerCollection and Object using a
single IDProperty to store all the render settings data.

Missing

  • Update not working
  • New layer collection panel should use a system similar to KeyMaps

(where properties are only created when needed).

Note

  • I will get rid of the PROP_USE settings, once I finish

implementing the other missing bits

  • Clay engine "ssao_samples" was removed for now. But it should come

back as part of "Workspace Settings" later.