diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-07 21:10:11 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-07 21:10:11 +0300 |
commit | 1962afa2a6273511268246601659b74c418b6e8e (patch) | |
tree | 6ec26855f239d2efb2ee2116da63d4d631fefb92 /source/blender/editors/transform/transform.h | |
parent | 19aab8edb09eaf3600e4ca90329e244554f3a0fb (diff) |
Use custom cursor draw in transform to draw the new arrow cursors (to indicate direction of motion for a particular transformations). This insures that it's drawn under the cursor and not far away when cursor is warped (rubber band still points to event location, this helps visualize too).
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index d51cf9c864b..9f40b6f7288 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -321,6 +321,7 @@ typedef struct TransInfo { struct Object *obedit; void *draw_handle_view; void *draw_handle_pixel; + void *draw_handle_cursor; } TransInfo; @@ -633,7 +634,7 @@ void setCustomPoints(TransInfo *t, MouseInput *mi, short start[2], short end[2]) /*********************** Generics ********************************/ int initTransInfo(struct bContext *C, TransInfo *t, struct wmOperator *op, struct wmEvent *event); -void postTrans (TransInfo *t); +void postTrans (struct bContext *C, TransInfo *t); void resetTransRestrictions(TransInfo *t); void drawLine(TransInfo *t, float *center, float *dir, char axis, short options); |