From 9e56c570c3fbca4bae9a1da24828b6e640299f99 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 1 Dec 2015 18:52:24 +1100 Subject: Cleanup: use more logical names for View3D.around D1651 (own patch) --- source/blender/editors/space_clip/clip_ops.c | 2 +- source/blender/editors/space_clip/space_clip.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/space_clip') 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(); -- cgit v1.2.3