Make the checks in GimpTool::initialize() work reliably
Set tool->display and tool->drawable to NULL in button_release() so initialize() is actually called before each button_press().
This commit is contained in:
@ -260,6 +260,9 @@ gimp_blend_tool_button_release (GimpTool *tool,
|
||||
|
||||
gimp_image_flush (image);
|
||||
}
|
||||
|
||||
tool->display = NULL;
|
||||
tool->drawable = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user