mirror of https://github.com/GNOME/gimp.git
Removed useless image flushing which caused the image preview to be
2007-06-27 Michael Natterer <mitch@gimp.org> Removed useless image flushing which caused the image preview to be updated needlessly: * app/core/gimpimagemap.c (gimp_image_map_do): don't flush the image when the idle rendering is completed, emit our own "flush" signal instead just as for the incremental display updates. * app/tools/gimpimagemaptool.c (gimp_image_map_tool_notify_preview): when switching off the preview don't flush the image, only flush projection and display. svn path=/trunk/; revision=22842
This commit is contained in:
parent
6a61d33aea
commit
8c8d3786d9
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
2007-06-27 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Removed useless image flushing which caused the image preview to
|
||||
be updated needlessly:
|
||||
|
||||
* app/core/gimpimagemap.c (gimp_image_map_do): don't flush the
|
||||
image when the idle rendering is completed, emit our own "flush"
|
||||
signal instead just as for the incremental display updates.
|
||||
|
||||
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_notify_preview):
|
||||
when switching off the preview don't flush the image, only flush
|
||||
projection and display.
|
||||
|
||||
2007-06-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/dialogs/image-properties-dialog.c
|
||||
|
|
|
@ -520,7 +520,7 @@ gimp_image_map_do (GimpImageMap *image_map)
|
|||
{
|
||||
image_map->idle_id = 0;
|
||||
|
||||
gimp_image_flush (image);
|
||||
g_signal_emit (image_map, image_map_signals[FLUSH], 0);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -542,7 +542,8 @@ gimp_image_map_tool_notify_preview (GObject *config,
|
|||
|
||||
gimp_tool_control_set_preserve (tool->control, FALSE);
|
||||
|
||||
gimp_image_flush (tool->display->image);
|
||||
gimp_image_map_tool_flush (image_map_tool->image_map,
|
||||
image_map_tool);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue