Commit 3835c016 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fill the layer before adding it to the image.

2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c (gimp_template_create_image): fill the
	layer before adding it to the image.
parent a2428303
2005-04-28 Sven Neumann <sven@gimp.org>
* app/core/gimptemplate.c (gimp_template_create_image): fill the
layer before adding it to the image.
2005-04-28 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-render.c (render_image_rgb): fixed
......
......@@ -448,10 +448,10 @@ gimp_template_create_image (Gimp *gimp,
_("Background"),
GIMP_OPACITY_OPAQUE, GIMP_NORMAL_MODE);
gimp_image_add_layer (gimage, layer, 0);
gimp_drawable_fill_by_type (GIMP_DRAWABLE (layer),
context, template->fill_type);
gimp_drawable_fill_by_type (GIMP_DRAWABLE (layer), context,
template->fill_type);
gimp_image_add_layer (gimage, layer, 0);
gimp_image_undo_enable (gimage);
gimp_image_clean_all (gimage);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment