Page MenuHome

UI Code Quality: Finish porting outliner tree building to C++
ClosedPublic

Authored by Nathan Craddock (natecraddock) on Dec 3 2020, 7:05 PM.

Details

Summary

This is a follow-up of D9499 which moves each remaining outliner tree display to subclasses of AbstractTreeDisplay.
The display modes classes in this patch are:

  • Video Sequencer: TreeDisplaySequencer
  • Orphan Data: TreeDisplayOrphanedData
  • Scenes: TreeDisplayScenes
  • Data API: TreeDisplayData

Some small cleanup is also done in outliner_tree.c now that all tree building code is in C++.

Diff Detail

Repository
rB Blender

Event Timeline

Nathan Craddock (natecraddock) requested review of this revision.Dec 3 2020, 7:05 PM
Nathan Craddock (natecraddock) created this revision.

I recall a discussion a few weeks back about renaming "Orphan Data" to "Orphaned Data" so I did that in the code here.
The name of TreeDisplayData isn't the best, maybe TreeDisplayBlenderData or TreeDisplayDataAPI would be better.

Scrolling over this quickly, looks good!

I think we should follow the internal names, so TreeDisplayIDOrphans and TreeDisplayDataAPI.

This revision is now accepted and ready to land.Dec 4 2020, 5:22 PM

Thanks! I'll change the names before committing then.