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>2003-10-23 20:15:05 +0400
committerTon Roosendaal <ton@blender.org>2003-10-23 20:15:05 +0400
commit9a625925da68ffc12eac24191c286ca96c63d882 (patch)
treec1aa337259bb262836db651a59ef3b1da14c10d9 /source/blender/include/BDR_drawobject.h
parent5b018e669b357fd650d76daf120e0baea069098b (diff)
Cleaned up new constraint line drawing while grab/rot/scale
- uses callback mechanism to tell main drawing routine what to do - for that reason it doesn't use frontbuffer drawing anymore and it shows up in all 3d windows as well - it uses the same colors as for the grid axes (I tweaked it a bit, this is based at themecolors, and also should work in different background and grid color) - I disabled drawing lines through every object or every vertex. The current display method is clear and not distracting - when in 'local' transform (double press X/Y/Z), it displays a nice axis in the center of transform for vertices. In object-mode, local transform differs per object, so constraint lines and axes are drawn for each individually... Also: - fixed an old bug in rotate transform(). Using a constraint for rotation (X, Y, Z) didn't work for multiple objects at all!
Diffstat (limited to 'source/blender/include/BDR_drawobject.h')
-rw-r--r--source/blender/include/BDR_drawobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/include/BDR_drawobject.h b/source/blender/include/BDR_drawobject.h
index d8b27f528ab..9733cb71a20 100644
--- a/source/blender/include/BDR_drawobject.h
+++ b/source/blender/include/BDR_drawobject.h
@@ -47,7 +47,6 @@ struct Base;
void init_draw_rects(void);
void helpline(float *vec);
-void constline(float *center, float *dir, int col);
void drawaxes(float size);
void drawcamera(struct Object *ob);
void calc_lattverts_ext(void);