Blender Git Commit Log

Git Commits -> Revision 2da4fcf

Revision 2da4fcf by Julian Eisel (soc-2016-layer_manager)
June 19, 2016, 17:46 (GMT)
Register layer type info as shared layer data

Each layer type is now registered as LayerType instance, working really similar to operator types. This will allow us to create custom layer types from .py, but also makes it easier and more efficient to create layer data that's shared between all layers of a type.

Also removed unneeded layer poll callback.

Commit Details:

Full Hash: 2da4fcfe77ab6f0739a21f3718ddd71e4cfbb698
Parent Commit: c98a534
Lines Changed: +124, -51

12 Modified Paths:

/source/blender/blenkernel/BKE_layer.h (+25, -4) (Diff)
/source/blender/blenkernel/BKE_object.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/layer.c (+68, -11) (Diff)
/source/blender/blenkernel/intern/object_layer.c (+10, -11) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -1) (Diff)
/source/blender/editors/space_layers/layers_draw.c (+6, -6) (Diff)
/source/blender/editors/space_layers/layers_types.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+4, -13) (Diff)
/source/creator/creator.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021