Page MenuHome

Updates the tree element to use retained mode
ClosedPublic

Authored by Chaitanya (cyrax) on Dec 28 2016, 10:11 AM.

Diff Detail

Repository
rB Blender

Event Timeline

Chaitanya (cyrax) retitled this revision from to Updates the tree element to use retained mode.
Chaitanya (cyrax) updated this object.
Chaitanya (cyrax) set the repository for this revision to rB Blender.
source/blender/editors/space_outliner/outliner_draw.c
1602

Let me know if this is not a recommended style. The recursive function is fairly long and I wanted to make sure this section is discrete without having to create another function just for rendering a rectangle.

source/blender/editors/interface/resources.c
1280–1282

nice!

source/blender/editors/space_outliner/outliner_draw.c
1602

No problem with the style. I've seen this in other places and use it myself to manage scope.

Mike Erwin (merwin) edited edge metadata.
This revision is now accepted and ready to land.Feb 9 2017, 12:29 AM

Pushed to blender2.8. Thanks!