Restoring Group Colours for Animation Channels - Part 1

This commit restores the group colours support for F-Curves and F-Curve Groups
in the DopeSheet and Graph Editors. Currently the relevant settings for groups
are only exposed via RNA, but a followup commit will add support for
automatically setting these colours. By default, DopeSheet and Graph Editors are
set to display these colours if/when they are available.

This functionality used to be in 2.48, and is a useful mechanism for visually
distinguishing between channels for different controls when animating (if group
colours are used on the rigs too).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46960 954f8c5b-7b00-dc11-b283-0030488c597c
Code Cleanup  - DNA_space_types.h - Replaced all #define-lists with enums

* All lists of #defines now replaced with enums
* All flags are now defined using the "(1 << x)" style, which is easier to
read/maintain than the other variations


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46961 954f8c5b-7b00-dc11-b283-0030488c597c
Code Cleanup - DNA_space_types.h - Part 2 - Rearranging Stuff

* Moved all enums to immediately follow the struct(s) that they are used for/by.
Less jumping around the file to find these

* Reshuffled the order of a few structs/editor groupings. For example, now all
animation editors are grouped together, and most general/property editors are
grouped together.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46962 954f8c5b-7b00-dc11-b283-0030488c597c
 * removed clamp from color correction



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46963 954f8c5b-7b00-dc11-b283-0030488c597c
fix for building without audaspace


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46965 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46966 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46968 954f8c5b-7b00-dc11-b283-0030488c597c
Graph Editor - View All/Selected now includes handles for calculating extents of
F-Curves

It is possible to get the old behaviour (handles excluded) by bringing up the
Operator Properties (F6) while in the Graph Editor (this doesn't work elsewhere
due to the context requirements of this stuff).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46970 954f8c5b-7b00-dc11-b283-0030488c597c
Fix new compositor color to value/bw conversion working different than it did
before. It doesn't make much sense to always multiply with alpha, especially
if it's a premul image that already has it multiplied in.

Patch by Irie Shinsuke.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46974 954f8c5b-7b00-dc11-b283-0030488c597c
Patch #31570: Implementation of 'Include bone children' Option

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46976 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: brace placement/newlines


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46979 954f8c5b-7b00-dc11-b283-0030488c597c
Smoke: Fix wrong maximum timestep, resulting in exploding/unstable fluids.

Part of my Smoke Development project.
In conjunction with MiikaH and his gSoC project.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46981 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug #31582, Crash with Skin modifier

Buffer overflow error in collecting split_face vertices.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46983 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug [#31512] Focus Zoom on text object with modifers fails

Change BKE_object_minmax() to use the same logic as meshes: use the
object bounding box if available, since it will include the modifier
DM output.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46985 954f8c5b-7b00-dc11-b283-0030488c597c
Modifications to the view3d.select() operator: 

1. Two new boolean options have been added to the operator: "deselect"
   and "toggle".
2. The previous behavior of "extend" (toggling the selection) has
   been moved to the "toggle" option.
3. "extend" now only extends the selection, it never deselects.
4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite
   of extend).
5. The built-in keymap has been changed to use "toggle" where
   "extend" was used before for this operator, to maintain the
   previous behavior in the default keymap.

In short, this works towards making "extend" and "deselect" fully
consistent across all selection tools (adding to and removing from
selection, respectively), but still preserves the old behavior
as well.

(Patch reviewed by Brecht.)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46986 954f8c5b-7b00-dc11-b283-0030488c597c
Missed a change from "extend" to "toggle" in last commit.

Thanks Campbell for the catch. :-)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46987 954f8c5b-7b00-dc11-b283-0030488c597c
remove some float/double conversions


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46988 954f8c5b-7b00-dc11-b283-0030488c597c