mirror of https://github.com/GNOME/gimp.git
Only destroy the current tool if you change gdisplays and the tool caches
Wed Apr 01 04:07:29 EST 1998 Matthew Wilson <msw@gimp.org> * app/disp_callbacks.c: Only destroy the current tool if you change gdisplays and the tool caches image data. --Matt "flood the commits-list" Wilson
This commit is contained in:
parent
4553b3c845
commit
f992be951f
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 01 04:07:29 EST 1998 Matthew Wilson <msw@gimp.org>
|
||||
|
||||
* app/disp_callbacks.c: Only destroy the current tool if you change
|
||||
gdisplays and the tool caches image data.
|
||||
|
||||
Wed Apr 01 03:40:15 EST 1998 Matthew Wilson <msw@gimp.org>
|
||||
|
||||
* app/disp_callbacks.c: If the current gdisp->ID does not match
|
||||
|
|
|
@ -150,7 +150,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||
/* Reset the current tool if we're changing displays... */
|
||||
tool_gdisp = active_tool->gdisp_ptr;
|
||||
if (tool_gdisp)
|
||||
if (tool_gdisp->ID != gdisp->ID)
|
||||
if (tool_gdisp->ID != gdisp->ID && !active_tool->preserve)
|
||||
tools_select(active_tool->type);
|
||||
(* active_tool->button_press_func) (active_tool, bevent, gdisp);
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||
/* Reset the current tool if we're changing displays... */
|
||||
tool_gdisp = active_tool->gdisp_ptr;
|
||||
if (tool_gdisp)
|
||||
if (tool_gdisp->ID != gdisp->ID)
|
||||
if (tool_gdisp->ID != gdisp->ID && !active_tool->preserve)
|
||||
tools_select(active_tool->type);
|
||||
(* active_tool->button_press_func) (active_tool, bevent, gdisp);
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||
/* Reset the current tool if we're changing displays... */
|
||||
tool_gdisp = active_tool->gdisp_ptr;
|
||||
if (tool_gdisp)
|
||||
if (tool_gdisp->ID != gdisp->ID)
|
||||
if (tool_gdisp->ID != gdisp->ID && !active_tool->preserve)
|
||||
tools_select(active_tool->type);
|
||||
(* active_tool->button_press_func) (active_tool, bevent, gdisp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue