Blender Git Loki

Git Commits -> Revision 5372924

Revision 5372924 by Richard Antalik (master)
July 10, 2020, 14:16 (GMT)
Fix T78579: Proxy produces wrong preview when using Offset or Crop

Make sure that proxy and original images are scaled to same size before
applying offset or crop.

During testing, I discovered, that raw cache will lose information whether
this image was proxy or not. Because of this, proxy images will not create
this cache type. It would be fairly easy to implement this functionality for
cache, but I have decided to not do it now, because I did not want to pass yet
another mostly hard-coded bool flag to cache system. Since image is proxy, it
should be fast to read anyway.

In case of using offset property, code was modified to make sure we scale
image only once. I also tried to make code more readable and streamlined and
cleaned up surrounding functions a bit.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8203

Commit Details:

Full Hash: 537292498324808c4621f0a749e9f48ee40da7be
Parent Commit: 77f823a
Lines Changed: +48, -55

1 Modified Path:

/source/blender/blenkernel/intern/sequencer.c (+48, -55) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021