Commit 236a5172 authored by Marc Lehmann's avatar Marc Lehmann

see plug-ins/perl/Changes

parent c02616dc
......@@ -21,7 +21,7 @@ register "colour_to_alpha",
sub { # es folgt das eigentliche Skript...
my($image,$drawable,$colour)=@_;
$drawable->layer or die "colour_to_alpha only works with layers\n";
$drawable->is_layer or die "colour_to_alpha only works with layers\n";
$drawable->add_alpha unless $drawable->has_alpha;
Gimp->progress_init ("Replacing colour...");
......
......@@ -35,7 +35,7 @@ register "plug_in_ditherize",
sub {
my($image,$drawable,$colours)=@_;
$drawable->layer or die "this plug-in only works for layers";
$drawable->is_layer or die "this plug-in only works for layers";
# make sure somehting is selected
$drawable->mask_bounds or $image->selection_all;
......
......@@ -8,7 +8,7 @@ sub fire {
my ($w,$h) = ($drawable->width, $drawable->height);
$drawable->layer or die "sorry, this function needs to call functions that work only for layers :(\n";
$drawable->is_layer or die "sorry, this function needs to call functions that work only for layers :(\n";
$image->undo_push_group_start;
$drawable->wind($threshold, 0, $strength, 0, 1);
......
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