Bugfix #4687
Repeat Image texture was broken... the repeat value for Y was accidentally multiplied twice, typo... had to change a 1 into 2 :) Error introduced in 2.41 btw, 2.40 and older were OK.
This commit is contained in:
@@ -1127,7 +1127,7 @@ static void do_2d_mapping(MTex *mtex, float *t, VlakRen *vlr, float *dxt, float
|
||||
else if(fy<0.0) fy+= 1-(int)(fy);
|
||||
}
|
||||
if(max!=1.0f) {
|
||||
dxt[1]*= max;
|
||||
dxt[2]*= max;
|
||||
dyt[2]*= max;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user