Blender Git Commit Log

Git Commits -> Revision 3e8712b

Revision 3e8712b by Joshua Leung (master)
July 11, 2011, 10:59 (GMT)
== The great Outliner code split up ==

As per my proposal (http://lists.blender.org/pipermail/bf-
committers/2011-July/032553.html), I've split outliner.c into several
new files based on the purpose of the relevant code.

* outliner_tree.c - building outliner structure
* outliner_draw.c - outliner drawing (including toggle buttons and
their handling)
* outliner_edit.c - all operators for toggling stuff, and/or hotkey
accessed operators. Also KeyingSet and Driver operators go here
* outliner_tools.c - all operators and callbacks used for handling RMB
click on items
* outliner_select.c - stuff for selecting rows, and handling the
active/selected toggling stuff

In a few cases, the split hasn't been totally clear-cut due to cross-
dependencies and other spaghetti. However, in a few cases, I have
managed to remove the need for some of the prototypes that were needed
in the past by judicious reshuffling of functions, which also makes it
easier to actually find what you're looking for.

Commit Details:

Full Hash: 3e8712bf638673860ecb7a613ede8ada60bb3400
SVN Revision: 38303
Parent Commit: 6160bc5
Lines Changed: +6649, -6164

5 Added Paths:

/source/blender/editors/space_outliner/outliner_draw.c (+1644, -0) (View)
/source/blender/editors/space_outliner/outliner_edit.c (+1396, -0) (View)
/source/blender/editors/space_outliner/outliner_select.c (+865, -0) (View)
/source/blender/editors/space_outliner/outliner_tools.c (+1139, -0) (View)
/source/blender/editors/space_outliner/outliner_tree.c (+1533, -0) (View)

1 Deleted Path:

/source/blender/editors/space_outliner/outliner.c (+0, -6148)

1 Modified Path:

/source/blender/editors/space_outliner/outliner_intern.h (+72, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021