diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-04-24 14:41:35 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-04-24 14:42:55 +0300 |
commit | 5f888e65c3e765d5c176d3f54cf7d20d216441fc (patch) | |
tree | 64504593f34dc0bf90e9da687c55096804b90f50 /intern/cycles/kernel | |
parent | cc5a75d5727ab45c2521bf6103a28aa2503fbafc (diff) |
Outliner: Show parenting hierarchy in view layer view
If the "Object Children" filter is enabled, we nest the object children inside
the object. If the child itself is not in the collection, it is grayed out,
connected by a dash line, and its restriction flags and contents are not shown.
If "Object Children" filter is disabled, it works as before.
Note: This is not super fast, but at least we traverse the tree only once to get the
children of an object. That said, there is a lot of loops going on here.
Task T63526.
Development notes:
I could use the GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR shader, but
that would mean I would need to iterate over the tree twice (once for
each shader) - or do some bigger refactor.
Also I could not get that shader to work. This shader expects float
vertices while the current one is using integers, so converting the code
would make the dash line drawing to diverge from the regular lines even
further.
Differential Revision: https://developer.blender.org/D4696
Diffstat (limited to 'intern/cycles/kernel')
0 files changed, 0 insertions, 0 deletions