[Bf-blender-cvs] [124aae91e22] master: Cleanup: shadowing warning
Campbell Barton
noreply at git.blender.org
Mon May 16 04:11:51 CEST 2022
Commit: 124aae91e226984016aa3482f849d8bbebbb3fa3
Author: Campbell Barton
Date: Mon May 16 12:10:38 2022 +1000
Branches: master
https://developer.blender.org/rB124aae91e226984016aa3482f849d8bbebbb3fa3
Cleanup: shadowing warning
===================================================================
M source/blender/editors/space_clip/tracking_select.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list