don't call map() if image_map_tool->image_map is NULL.
2008-01-15 Michael Natterer <mitch@gimp.org> * app/tools/gimpimagemaptool.c (gimp_image_map_tool_preview): don't call map() if image_map_tool->image_map is NULL. svn path=/trunk/; revision=24610
This commit is contained in:

committed by
Michael Natterer

parent
4ef8797faa
commit
0b74e6e1b5
@ -1,3 +1,8 @@
|
||||
2008-01-15 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_preview):
|
||||
don't call map() if image_map_tool->image_map is NULL.
|
||||
|
||||
2008-01-14 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/tools-utils.[ch]
|
||||
|
@ -637,7 +637,7 @@ gimp_image_map_tool_preview (GimpImageMapTool *image_map_tool)
|
||||
tool = GIMP_TOOL (image_map_tool);
|
||||
options = GIMP_IMAGE_MAP_TOOL_GET_OPTIONS (tool);
|
||||
|
||||
if (options->preview)
|
||||
if (options->preview && image_map_tool->image_map)
|
||||
{
|
||||
gimp_tool_control_set_preserve (tool->control, TRUE);
|
||||
|
||||
|
Reference in New Issue
Block a user