diff options
author | Matt Ebb <matt@mke3.net> | 2006-01-13 18:50:32 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-01-13 18:50:32 +0300 |
commit | 2af2c2c700d2256380fb3095257efe576fd0bbf1 (patch) | |
tree | 3b4982f6d6b746ef6d5de4d9f27fc70cfc36f729 /source/blender/src/drawarmature.c | |
parent | cc2a332907e2e28ebf9ab1fc8b6464000ed18cf5 (diff) |
Orange: Display types and variable size for Empties.
This is using instructions from Ton, so hopefully the implementation is ok.
This is really needed here where we are using all sorts of wacky scales, and
empties look too big or too small. Of course we don't want to scale the
empties because there are often things parented to them.
New options are in edit buttons for empties to control the display style
and the size. New styles are easy to add, too. Just needs useful ideas and
minor effort from anyone who wants to.
Support for copying these values has also been added to the Copy Attributes
->Drawtype menu command.
Diffstat (limited to 'source/blender/src/drawarmature.c')
-rw-r--r-- | source/blender/src/drawarmature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c index c284b31bd30..083125442af 100644 --- a/source/blender/src/drawarmature.c +++ b/source/blender/src/drawarmature.c @@ -1529,7 +1529,7 @@ static void draw_pose_channels(Base *base, int dt) glPushMatrix(); glMultMatrixf(pchan->pose_mat); glTranslatef(0.0f, pchan->bone->length, 0.0f); - drawaxes(0.25f*pchan->bone->length, 0); + drawaxes(0.25f*pchan->bone->length, 0, OB_ARROWS); glPopMatrix(); } } @@ -1713,7 +1713,7 @@ static void draw_ebones(Object *ob, int dt) glPushMatrix(); set_matrix_editbone(eBone); glTranslatef(0.0f, eBone->length, 0.0f); - drawaxes(eBone->length*0.25f, 0); + drawaxes(eBone->length*0.25f, 0, OB_ARROWS); glPopMatrix(); } |