mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
Hopefully fixed all cases of the perspective tool preview breaking with
2004-10-27 Philip Lafleur <plafleur@cvs.gnome.org> * app/display/gimpdisplayshell-preview.c: Hopefully fixed all cases of the perspective tool preview breaking with certain orientations.
This commit is contained in:
parent
7179ac43a3
commit
2f3073910c
|
@ -1,3 +1,8 @@
|
|||
2004-10-27 Philip Lafleur <plafleur@cvs.gnome.org>
|
||||
|
||||
* app/display/gimpdisplayshell-preview.c: Hopefully fixed all cases
|
||||
of the perspective tool preview breaking with certain orientations.
|
||||
|
||||
2004-10-27 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tools/pdbgen/enumcode.pl: Don't declare $first twice.
|
||||
|
|
|
@ -306,8 +306,12 @@ gimp_display_shell_draw_quad (GimpDrawable *texture,
|
|||
} \
|
||||
|
||||
|
||||
if (((x [0] > x [1]) && (x [3] > x [2])) ||
|
||||
((x [0] < x [1]) && (x [3] < x [2])))
|
||||
if ((((x [0] > x [1]) && (x [3] > x [2])) ||
|
||||
((x [0] < x [1]) && (x [3] < x [2]))) &&
|
||||
(! (((x [0] > x [2]) && (x [0] < x [1]) && (x [3] < x [2])) ||
|
||||
((x [0] < x [2]) && (x [0] > x [1]) && (x [3] > x [2])) ||
|
||||
((x [3] > x [1]) && (x [3] < x [2]) && (x [0] < x [1])) ||
|
||||
((x [3] < x [1]) && (x [3] > x [2]) && (x [0] > x [2])))))
|
||||
{
|
||||
/*
|
||||
* v0
|
||||
|
|
Loading…
Reference in a new issue