Page MenuHome

Fix T65263: Outliner doesn't display selected object if parent not selected
ClosedPublic

Authored by Dalai Felinto (dfelinto) on Jun 26 2019, 2:10 AM.

Details

Summary

This works for most situations, however if you have:

A
 |-> B
     |--> C

And only A and C are selected, C will be shown nested under A, instead
being by its side.

I still have to think on how to address these cases since they are
slightly misleading.

Related: T65263.

Diff Detail

Repository
rB Blender
Branch
outliner-fix-T65263-parent-display (branched from master)
Build Status
Buildable 3917
Build 3917: arc lint + arc unit

Event Timeline

Brecht Van Lommel (brecht) added inline comments.
source/blender/editors/space_outliner/outliner_tree.c
2135

Use outliner_is_collection_tree_element?

This revision is now accepted and ready to land.Jun 26 2019, 6:38 PM