File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- - try:
2-
3- A1 = Colour "sRGB" [50, 100, 150]
4- A2 = Matrix [A1.value]
5- A3 = im_mask2vips A2
6- A4 = Image A3
7- A5 = extract_area 0 0 1 1 A4
8-
9- Open viewer in A5, infobar shows (0), shoud show (50)
101
112- recover after crash should sort by date, then by PID
123
Original file line number Diff line number Diff line change 3030#include "nip4.h"
3131
3232/*
33- */
3433#define DEBUG_VERBOSE
3534#define DEBUG
35+ */
3636
3737struct _Infobar {
3838 GtkWidget parent_instance ;
Original file line number Diff line number Diff line change @@ -246,9 +246,17 @@ tilesource_render_notify_idle(void *user_data)
246246 /* Only bother fetching the updated tile if it's from our current
247247 * pipeline.
248248 */
249- if (update -> image == tilesource -> image )
249+ if (update -> image == tilesource -> image ) {
250250 tilesource_collect (tilesource , & update -> rect , update -> z );
251251
252+ /* All operations which depend on this image need to be kicked out of
253+ * cache.
254+ *
255+ * Things like the getpoint() we run for the infobar.
256+ */
257+ vips_image_invalidate_all (update -> image );
258+ }
259+
252260 /* Matches the g_new() in tilesource_render_notify().
253261 */
254262 g_free (update );
You can’t perform that action at this time.
0 commit comments