diff options
author | Thomas White <taw@physics.org> | 2010-02-08 15:14:21 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-08 15:14:21 +0100 |
commit | d273ade6ec56734dce9c2b0eecc632e31e494b74 (patch) | |
tree | 823c2fd4571e8b7dd522ccb5808b639e84fa49df /src/render.c | |
parent | 48fa0eb07746e844b94374eaba6db549e33fc8c9 (diff) |
Add --clean-image option to hdfsee
Diffstat (limited to 'src/render.c')
-rw-r--r-- | src/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c index ca86f28c..3586b962 100644 --- a/src/render.c +++ b/src/render.c @@ -79,7 +79,7 @@ int16_t *render_get_image_binned(DisplayWindow *dw, int binning, int16_t *max) hdf5_read(dw->hdfile, image); dw->image_dirty = 0; - clean_image(image); + if ( dw->clean ) clean_image(image); /* Deal with the old image, if existing */ if ( dw->image != NULL ) { |