Commit: 087e95d0fe60be312f08b874b4e37de41309442c Author: Campbell Barton Date: Wed Jun 29 22:02:04 2022 +1000 Branches: master https://developer.blender.org/rB087e95d0fe60be312f08b874b4e37de41309442c
Cleanup: correct type for sequencer SWAP macro =================================================================== M source/blender/sequencer/intern/strip_edit.c =================================================================== diff --git a/source/blender/sequencer/intern/strip_edit.c b/source/blender/sequencer/intern/strip_edit.c index deab43affee..15c472dd5a7 100644 --- a/source/blender/sequencer/intern/strip_edit.c +++ b/source/blender/sequencer/intern/strip_edit.c @@ -80,9 +80,9 @@ int SEQ_edit_sequence_swap(Scene *scene, Sequence *seq_a, Sequence *seq_b, const SWAP(Sequence *, seq_a->prev, seq_b->prev); SWAP(Sequence *, seq_a->next, seq_b->next); - SWAP(int, seq_a->start, seq_b->start); - SWAP(int, seq_a->startofs, seq_b->startofs); - SWAP(int, seq_a->endofs, seq_b->endofs); + SWAP(float, seq_a->start, seq_b->start); + SWAP(float, seq_a->startofs, seq_b->startofs); + SWAP(float, seq_a->endofs, seq_b->endofs); SWAP(int, seq_a->machine, seq_b->machine); seq_time_effect_range_set(scene, seq_a); seq_time_effect_range_set(scene, seq_b); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
