gimp r24610 - in trunk: . app/tools



Author: mitch
Date: Tue Jan 15 00:56:33 2008
New Revision: 24610
URL: http://svn.gnome.org/viewvc/gimp?rev=24610&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpimagemaptool.c

Modified: trunk/app/tools/gimpimagemaptool.c
==============================================================================
--- trunk/app/tools/gimpimagemaptool.c	(original)
+++ trunk/app/tools/gimpimagemaptool.c	Tue Jan 15 00:56:33 2008
@@ -637,7 +637,7 @@
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]