Blender Git Loki

Git Commits -> Revision adf3558

Revision adf3558 by Dalai Felinto (master)
February 12, 2017, 19:47 (GMT)
Layers: Per-Collection edit mode settings

I didn't manage to get the proper object context in the collection
properties editor. That said I got it working for now in a temporary way
since this will change once we get workspaces anyways

(see changes in buttons_context.c and
rna_scene.c::rna_LayerCollection_mode_settings_get)

I still need to handle the merging of the settings. I will find a
provisory solution while we wait for depsgraph.

(also layer_collection_create_mode_settings_object and layer_collection_create_mode_settings_edit could probably be elsewhere - under draw/engines likely)

Commit Details:

Full Hash: adf355849f5c68bf504ba435cc54872b2e2ee87a
Parent Commit: b104057
Lines Changed: +305, -56

9 Modified Paths:

/release/scripts/startup/bl_ui/properties_collection.py (+36, -0) (Diff)
/source/blender/blenkernel/BKE_layer.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/layer.c (+53, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -0) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+8, -0) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+11, -1) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+190, -47) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021