Blender Git Loki

Git Commits -> Revision bb637c4

Revision bb637c4 by Julian Eisel (soc-2016-layer_manager)
June 5, 2016, 17:07 (GMT)
Viewport: Draw objects by iterating over layers

Instead of iterating over all objects, we now iterate over layers and the objects inside of them. Later we can skip invisible layers, but they are not supported yet.
Objects assigned to multiple layers are currently drawn multiple times, we can avoid this (although it *might* be useful in some cases).

Since current code allows objects not being assigned to any layer, un-assigned objects are not drawn at all. To fix this you need to assign them to a layer.

Commit Details:

Full Hash: bb637c41fcb20ea16e62bda2d4e36d28ecd9a356
Parent Commit: e7af5cb
Lines Changed: +98, -45

2 Modified Paths:

/source/blender/editors/space_layers/layers_ops.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+96, -45) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021