diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-14 20:12:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-14 20:12:17 +0400 |
commit | 1bde4e3274042f08b60153f58273387801052a97 (patch) | |
tree | 39bb6f55ebebb9a4532d6d7a15dd6137a134aee6 /source/blender/makesdna | |
parent | 6e38ff32bed6e28871545f352a41a9b7343ed34d (diff) |
2D Cursor in UV window
this can be placed by the moused and used for transforming around.
still need numeric location input but no room left in the image panel.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_view2d_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index cfd6f682e71..3ed82ddc793 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -45,6 +45,10 @@ typedef struct View2D { short keepaspect, keepzoom; short oldwinx, oldwiny; int flag; + + float cursor[2]; /* only used in the UV view for now*/ + short around; + char pad[6]; } View2D; /* v2d->keepzoom */ |