Skip to content

Commit 6d9b09a

Browse files
committed
fix perspective distort
1 parent 16ea114 commit 6d9b09a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

TODO

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434

3535
add copy_set to stdenv, and that uses vips_call9
3636

37+
- perspective distort could have an "interpoplate" option (always bilinear
38+
right now)
39+
3740
- rename Image_type as Image_interpretation
3841

3942
- add

share/nip4/start/_vips7compat.def

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,5 +671,11 @@ im_segment test
671671
$segments => true
672672
];
673673

674+
im_transform in params ipol wrap
675+
= vips_call9 "quadratic" [in, params] [
676+
$interopolate => ipol
677+
];
678+
679+
674680
// add a lot more!
675681

src/workspaceview.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,11 +1210,8 @@ workspaceview_drag_end(GtkEventControllerMotion *self,
12101210

12111211
Subcolumn *old_scol = SUBCOLUMN(VOBJECT(wview->old_sview)->iobject);
12121212
Column *old_col = COLUMN(ICONTAINER(old_scol)->parent);
1213-
if (icontainer_get_n_children(ICONTAINER(old_scol)) == 0) {
1214-
printf("workspaceview_drag_end: destroying column %s\n",
1215-
IOBJECT(old_col)->name);
1213+
if (icontainer_get_n_children(ICONTAINER(old_scol)) == 0)
12161214
iobject_destroy(IOBJECT(old_col));
1217-
}
12181215

12191216
workspaceview_unfloat(wview);
12201217
workspace_queue_layout(ws);

0 commit comments

Comments
 (0)