mirror of https://github.com/GNOME/gimp.git
app/tools/gimpperspectiveclonetool.c (button_press) need to instruct the
2006-09-16 Michael Natterer <mitch@gimp.org> * app/tools/gimpperspectiveclonetool.c (button_press) * app/tools/gimpsourcetool.c (button_press): need to instruct the paint_core to make a copy of the projection whenever we clone from the same *image*, not from the same display. Fixes crash when cloning from the same image's projection in another view (bug #356209).
This commit is contained in:
parent
9da34b7e79
commit
334f160ea3
|
@ -1,3 +1,12 @@
|
|||
2006-09-16 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/tools/gimpperspectiveclonetool.c (button_press)
|
||||
* app/tools/gimpsourcetool.c (button_press): need to instruct the
|
||||
paint_core to make a copy of the projection whenever we clone from
|
||||
the same *image*, not from the same display. Fixes crash when
|
||||
cloning from the same image's projection in another view
|
||||
(bug #356209).
|
||||
|
||||
2006-09-15 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* plug-ins/common/screenshot.c: when shooting a region, apply delay
|
||||
|
|
|
@ -348,7 +348,8 @@ gimp_perspective_clone_tool_button_press (GimpTool *tool,
|
|||
|
||||
if (GIMP_CLONE_OPTIONS (options)->clone_type == GIMP_IMAGE_CLONE &&
|
||||
GIMP_SOURCE_OPTIONS (options)->sample_merged &&
|
||||
display == clone_tool->src_display)
|
||||
clone_tool->src_display &&
|
||||
clone_tool->src_display->image == display->image)
|
||||
{
|
||||
paint_tool->core->use_saved_proj = TRUE;
|
||||
}
|
||||
|
|
|
@ -191,9 +191,10 @@ gimp_source_tool_button_press (GimpTool *tool,
|
|||
{
|
||||
source->set_source = FALSE;
|
||||
|
||||
if (options->use_source &&
|
||||
options->sample_merged &&
|
||||
display == source_tool->src_display)
|
||||
if (options->use_source &&
|
||||
options->sample_merged &&
|
||||
source_tool->src_display &&
|
||||
source_tool->src_display->image && display->image)
|
||||
{
|
||||
paint_tool->core->use_saved_proj = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue