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/BSE_view.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/BSE_view.h')
-rw-r--r--source/blender/include/BSE_view.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h
index 4da0c331318..49a41e26ab1 100644
--- a/source/blender/include/BSE_view.h
+++ b/source/blender/include/BSE_view.h
@@ -50,7 +50,6 @@ void initgrabz(float x, float y, float z);
void window_to_3d(float *vec, short mx, short my);
void project_short(float *vec, short *adr);
void project_short_noclip(float *vec, short *adr);
-void project_short_infiniteline(float *vec, float *dir, short *adr1, short *adr2); /* clips infinite line to screen border */
void project_float(float *vec, float *adr);
int boundbox_clip(float obmat[][4], struct BoundBox *bb);
void fdrawline(float x1, float y1, float x2, float y2);