Commit 2f307391 authored by Philip Lafleur's avatar Philip Lafleur Committed by Philip Lafleur
Browse files

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.
parent 7179ac43
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment