Merge pull request #5822 from Beep6581/perspective-preview-fix
Fix for preview not updating when perspective is changed
This commit is contained in:
@@ -1641,8 +1641,11 @@ bool Crop::setCropSizes(int rcx, int rcy, int rcw, int rch, int skip, bool inter
|
|||||||
int orW, orH;
|
int orW, orH;
|
||||||
parent->imgsrc->getSize(cp, orW, orH);
|
parent->imgsrc->getSize(cp, orW, orH);
|
||||||
|
|
||||||
trafx = orx;
|
if (trafx != orx || trafy != ory) {
|
||||||
trafy = ory;
|
trafx = orx;
|
||||||
|
trafy = ory;
|
||||||
|
changed = true;
|
||||||
|
}
|
||||||
|
|
||||||
int cw = skips(bw, skip);
|
int cw = skips(bw, skip);
|
||||||
int ch = skips(bh, skip);
|
int ch = skips(bh, skip);
|
||||||
|
Reference in New Issue
Block a user