app: use matrix to determine if doing perspective transform in preview
In GimpCanvasTransformPreview, use the transform matrix to determine if we're doing a perspective transform, rather than relying on a separate property, so that we don't use the slow perspective path unnecessarily. Consequently, remove the does_perspective member of GimpTransformTool, since it's no longer used.
This commit is contained in:
@ -55,8 +55,7 @@ GimpCanvasItem * gimp_canvas_transform_preview_new (GimpDisplayShell *shel
|
||||
gdouble x1,
|
||||
gdouble y1,
|
||||
gdouble x2,
|
||||
gdouble y2,
|
||||
gboolean perspective);
|
||||
gdouble y2);
|
||||
|
||||
|
||||
#endif /* __GIMP_CANVAS_TRANSFORM_PREVIEW_H__ */
|
||||
|
Reference in New Issue
Block a user