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:
authorCampbell Barton <campbell@blender.org>2022-05-16 05:10:38 +0300
committerCampbell Barton <campbell@blender.org>2022-05-16 05:10:38 +0300
commit124aae91e226984016aa3482f849d8bbebbb3fa3 (patch)
treef75ebbee8ceebdb78dc3f4628ce46af054c0a528 /source/blender/editors/space_clip
parent7fc2804f45af68c33d8ff15cfb2dcd9621d62003 (diff)
Cleanup: shadowing warning
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/tracking_select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c
index 6b11fb86efc..be6f4558066 100644
--- a/source/blender/editors/space_clip/tracking_select.c
+++ b/source/blender/editors/space_clip/tracking_select.c
@@ -305,12 +305,12 @@ static int select_exec(bContext *C, wmOperator *op)
if (!extend) {
MovieTrackingTrack *track = tracking_find_slidable_track_in_proximity(C, co);
if (track != NULL) {
- MovieClip *clip = ED_space_clip_get_clip(sc);
+ MovieClip *clip_iter = ED_space_clip_get_clip(sc);
- clip->tracking.act_track = track;
+ clip_iter->tracking.act_track = track;
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, NULL);
- DEG_id_tag_update(&clip->id, ID_RECALC_SELECT);
+ DEG_id_tag_update(&clip_iter->id, ID_RECALC_SELECT);
return OPERATOR_PASS_THROUGH;
}