From 1adf750fc3c86a4d3e7d3f42028e93dfb9bf1c47 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 12 Jul 2005 15:47:53 +0000 Subject: 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 --- source/blender/include/BIF_editarmature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/include/BIF_editarmature.h') diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h index 77540c46eb5..056888e33f6 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -81,7 +81,7 @@ void clear_armature(struct Object *ob, char mode); void delete_armature(void); void deselectall_armature(void); void deselectall_posearmature (int test); -void draw_armature(struct Object *ob); +void draw_armature(struct Object *ob, int dt); void extrude_armature(void); void free_editArmature(void); void join_armature(void); -- cgit v1.2.3