Commit 21cc5af7 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

merged Raphaels patch for bug #56598 from the stable branch.

2001-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/perl/examples/glowing_steel: merged Raphaels patch for
	bug #56598 from the stable branch.
parent 9ce63151
2001-10-24 Sven Neumann <sven@gimp.org>
* plug-ins/perl/examples/glowing_steel: merged Raphaels patch for
bug #56598 from the stable branch.
* libgimp/gimpexport.c: merged Raphaels patch for bug #51114 from the
stable branch.
......
......@@ -222,6 +222,11 @@ sub perl_fu_highlight_edges {
return;
}
if (!gimp_layer_get_visible($drawable)) {
gimp_message("highlight_edges: The active layer must be visible!");
return;
}
if (!gimp_drawable_has_alpha($drawable)) {
my($sel,$x1,$y1,$x2,$y2) = gimp_selection_bounds($image);
if ($sel) {
......
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