diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-12 19:47:53 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-12 19:47:53 +0400 |
commit | 1adf750fc3c86a4d3e7d3f42028e93dfb9bf1c47 (patch) | |
tree | f6e6cf2b46c1de903a49effaeb67b164eb7c29fa /source/blender/include/BIF_resources.h | |
parent | d7ab2a584e3c4ee92f8600bbab642ff449729421 (diff) |
Cleanup of Armature 3d drawing.
- In Solid drawmode, bones get drawn solid too now. Including Outline-
selection color, if that's set.
Disable it by setting Object-buttons "drawtype" for the Armature.
Color used for solid bones is in Theme editor.
- EditMode armature now follows (Mesh edit) theme colors (Vertex, Edge)
- PoseMode armature has ThemeColor for selection, and draws three extra
colors now;
- blue shade for bones with action Ipos
- yellow for bones with IK
- green for bones with a constraint
- "X ray" now only works for PoseMode... needs review, can be done better
- "Draw Names" option uses theme color too, also indicates selection.
Fixes;
- In Armature EditMode, the deformed Mesh goes to rest-position
- Border select didn't clear 'active' flag in Bones in PoseMode
- Mouse-click select didn't work when a dashed line was close to Bone
Diffstat (limited to 'source/blender/include/BIF_resources.h')
-rw-r--r-- | source/blender/include/BIF_resources.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/include/BIF_resources.h b/source/blender/include/BIF_resources.h index 2f194a58118..70aa35a03d2 100644 --- a/source/blender/include/BIF_resources.h +++ b/source/blender/include/BIF_resources.h @@ -434,7 +434,10 @@ enum { TH_SYNTAX_V, TH_SYNTAX_C, TH_SYNTAX_L, - TH_SYNTAX_N + TH_SYNTAX_N, + + TH_BONE_SOLID, + TH_BONE_POSE }; /* XXX WARNING: previous is saved in file, so do not change order! */ |