Fix T96582: Wipe effect not working
Caused by oversight in 0e38002dd5
. Constant x/y value was used to
calculate transition instead of pixel x/y coords.
This commit is contained in:
parent
e74420124f
commit
540bfbbb27
Notes:
blender-bot
2023-02-13 22:20:49 +01:00
Referenced by issue #97917, Regression: wipe transition don't working + moving strips separately with stransition make a gap Referenced by issue #96901, Wipe transition effect not working Referenced by issue #96582, Regression: VSE Wipe transition does not work Referenced by issue #96241, 3.1: Potential candidates for corrective releases
|
@ -1681,7 +1681,7 @@ static void do_wipe_effect_byte(Sequence *seq,
|
|||
|
||||
for (int i = 0; i < y; i++) {
|
||||
for (int j = 0; j < x; j++) {
|
||||
float check = check_zone(&wipezone, x, y, seq, fac);
|
||||
float check = check_zone(&wipezone, j, i, seq, fac);
|
||||
if (check) {
|
||||
if (cp1) {
|
||||
float rt1[4], rt2[4], tempc[4];
|
||||
|
@ -1742,7 +1742,7 @@ static void do_wipe_effect_float(
|
|||
|
||||
for (int i = 0; i < y; i++) {
|
||||
for (int j = 0; j < x; j++) {
|
||||
float check = check_zone(&wipezone, x, y, seq, fac);
|
||||
float check = check_zone(&wipezone, j, i, seq, fac);
|
||||
if (check) {
|
||||
if (rt1) {
|
||||
rt[0] = rt1[0] * check + rt2[0] * (1 - check);
|
||||
|
|
Loading…
Reference in New Issue