Details
Diff Detail
Event Timeline
Had a look on this a few days ago, but didn't find any serious concerns.
I added inline comments to note a few minor things I'd like to see changed. One more picky concern I have, is the location of outliner_open_back, outliner_set_coordinates_element, and outliner_set_coordinates. These should either become "real" utility functions that are located in an own outliner_utility.c file (or at least in an own utility block), or they should just be used locally meaning they should be right above outliner_show_active_exec. Since those functions are only called from outliner_show_active_exec and I currently don't see a need to make this reusable, we should go with the second option IMO. So let's just place them above outliner_show_active_exec.
Other than those concerns, mostly looking good to me.
| source/blender/editors/space_outliner/outliner_edit.c | ||
|---|---|---|
| 76 | SpaceOopos *soops is unused and can be deleted | |
| 91 | Better have this called outliner_set_coordinates_element_recursive so you can easily see that this is a recursive function. | |
| 106 | Unnecessary blank line | |
| 117 | Would prefer to just use 0 instead of startx. | |
| 120 | Same here, unnecessary blank line | |