Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-07-16 23:07:02 +0400
committerTon Roosendaal <ton@blender.org>2005-07-16 23:07:02 +0400
commite67ba0ae330561424f18dbebaede835f81f45282 (patch)
tree5c3726760a4afd50266e6a522fe7b42f4a4bb230 /source/blender/src/resources.c
parent502c34ee4971bcc7cd4cb97090f84c9235518a9b (diff)
More armature goodies;
The B-Bones! (where the B can be read as 'block' or 'bezier' or 'b-spline') - set option on/off in edit buttons, armature panel - scaling of B-bones only works in editmode, use ALT+S to make bones fatter or thinner. Also works for constrainted transform - In pose mode, you now have a buttons panel with per-bone settings too Here you can find the "segments" button, which allows bones to interpolate between previous/next bones, including roll. - Buttons to control interpolation ("In" and "Out" are disabled, doesn't work satisfying yet NOTE: this doesn't give deform yet! Main purpose for now is to test if this drawing method serves to animate/pose armatures well. Still need to review proper interpolation methods... maybe bezier is too limited.
Diffstat (limited to 'source/blender/src/resources.c')
-rw-r--r--source/blender/src/resources.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/resources.c b/source/blender/src/resources.c
index c7d0f62b2a1..a841a854718 100644
--- a/source/blender/src/resources.c
+++ b/source/blender/src/resources.c
@@ -606,7 +606,7 @@ void BIF_InitTheme(void)
btheme->tv3d.facedot_size= 4;
SETCOL(btheme->tv3d.bone_solid, 200, 200, 200, 255);
- SETCOL(btheme->tv3d.bone_pose, 80, 200, 255, 100); // alpha 100 is not meant editable, used for wire+action draw
+ SETCOL(btheme->tv3d.bone_pose, 80, 200, 255, 80); // alpha 80 is not meant editable, used for wire+action draw
/* space buttons */
@@ -716,7 +716,7 @@ void BIF_InitTheme(void)
char *BIF_ThemeColorsPup(int spacetype)
{
- char *cp= MEM_callocN(21*32, "theme pup");
+ char *cp= MEM_callocN(32*32, "theme pup");
char str[32];
if(spacetype==0) {
@@ -766,8 +766,8 @@ char *BIF_ThemeColorsPup(int spacetype)
sprintf(str, "Face Selected (transp) %%x%d|", TH_FACE_SELECT); strcat(cp, str);
sprintf(str, "Face Dot Selected %%x%d|", TH_FACE_DOT); strcat(cp, str);
sprintf(str, "Face Dot Size %%x%d|", TH_FACEDOT_SIZE); strcat(cp, str);
- sprintf(str, "Normal %%x%d", TH_NORMAL); strcat(cp, str);
- sprintf(str, "Bone Solid %%x%d", TH_BONE_SOLID); strcat(cp, str);
+ sprintf(str, "Normal %%x%d|", TH_NORMAL); strcat(cp, str);
+ sprintf(str, "Bone Solid %%x%d|", TH_BONE_SOLID); strcat(cp, str);
sprintf(str, "Bone Pose %%x%d", TH_BONE_POSE); strcat(cp, str);
}
else if(spacetype==SPACE_IPO) {