Blender Git Commit Log
Git Commits -> Revision 9cd27e9
Revision 9cd27e9 by Joshua Leung (master) January 23, 2008, 10:14 (GMT) |
== "Custom Bone Colors" == This commit introduces the ability to give groups of bones different colour-sets, which enables them to be more easily identified in the 3d-view. Currently, custom bone colours have been implemented as a way to visualise bone-group membership (after all, colours and groups are both just ways of managing bones). Usage Notes: * Each theme currently has 20 Color-Sets available for Bones. These can be accessed from the "Bone Color Sets" option under the Theme buttons. (Note: currently, I haven't defined any default colour-sets. Donations welcome on this ;-) ) As such, colour sets are not saved per file! You will need to save the theme to preserve the color set for the next session. * Each Bone-Group can use any one of these 20 sets, or just use the default colour-set. Use the "GroupCol" button to set this. When a set has been chosen, three little rectangles are drawn beside the button to preview the colours the set provides. * A bone must belong to a Bone-Group to get that group's colours. * "Colors" toggle on "Armature" panel must be enabled for these custom-colours to be shown for all bones that can have them. This toggle is off by default, but is there to allow rigs to be debugged (by colours) for example. * The "Use 'Constraint' Colouring" option (per Colour Set), determines whether the colours denoting presences of constraints, ik, or keyframes are drawn in conjunction with the custom colours. It is off by default, as in many combinations, they look quite ugly when used in conjunction with custom colours. * Custom colours are only shown in PoseMode Assorted Notes: * I've tested this thoroughly, and there shouldn't be any problems caused by this. * In the process, I found a bug with envelope bone drawmode. In wire-frame mode, all bones got scaled up by several types. * I've cleaned up the armature drawing code a bit (mostly fixing messy white-space usage), but also creating a centralised method of setting colours for bones (currently only used for bones in PoseMode). |
Commit Details:
Full Hash: 9cd27e908b4f4a607b2325be45491d465742e4bb
SVN Revision: 13364
Parent Commit: 93f3585
Lines Changed: +633, -364