diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-01 10:52:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-01 10:53:26 +0300 |
commit | 9e56c570c3fbca4bae9a1da24828b6e640299f99 (patch) | |
tree | 5698d3d2dc2f8ae2dc77c070d9beefa4e69e109e /source/blender/editors/space_clip | |
parent | 2f80d304b0d50ea25367219b339bcfaa7958bbf4 (diff) |
Cleanup: use more logical names for View3D.around
D1651 (own patch)
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_clip/space_clip.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index c1db31a26db..7a66599655f 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -1534,7 +1534,7 @@ static int clip_set_2d_cursor_exec(bContext *C, wmOperator *op) bool show_cursor = false; show_cursor |= sclip->mode == SC_MODE_MASKEDIT; - show_cursor |= sclip->around == V3D_CURSOR; + show_cursor |= sclip->around == V3D_AROUND_CURSOR; if (!show_cursor) { return OPERATOR_CANCELLED; diff --git a/source/blender/editors/space_clip/space_clip.c b/source/blender/editors/space_clip/space_clip.c index 8c4b97b51ff..e1d4e4fabc5 100644 --- a/source/blender/editors/space_clip/space_clip.c +++ b/source/blender/editors/space_clip/space_clip.c @@ -250,7 +250,7 @@ static SpaceLink *clip_new(const bContext *C) sc->zoom = 1.0f; sc->path_length = 20; sc->scopes.track_preview_height = 120; - sc->around = V3D_LOCAL; + sc->around = V3D_AROUND_LOCAL_ORIGINS; /* header */ ar = MEM_callocN(sizeof(ARegion), "header for clip"); @@ -1213,7 +1213,7 @@ static void clip_main_region_draw(const bContext *C, ARegion *ar) } show_cursor |= sc->mode == SC_MODE_MASKEDIT; - show_cursor |= sc->around == V3D_CURSOR; + show_cursor |= sc->around == V3D_AROUND_CURSOR; if (show_cursor) { glPushMatrix(); |