diff --git a/app/pdb/item-cmds.c b/app/pdb/item-cmds.c index f103ba68a0..1557c53e3b 100644 --- a/app/pdb/item-cmds.c +++ b/app/pdb/item-cmds.c @@ -291,7 +291,7 @@ item_id_is_vectors_invoker (GimpProcedure *procedure, { GimpItem *item = gimp_item_get_by_id (gimp, item_id); - vectors = (GIMP_IS_DRAWABLE (item) && + vectors = (GIMP_IS_VECTORS (item) && ! gimp_item_is_removed (item)); } diff --git a/pdb/groups/item.pdb b/pdb/groups/item.pdb index f715b03da7..f52abb0ba3 100644 --- a/pdb/groups/item.pdb +++ b/pdb/groups/item.pdb @@ -265,7 +265,7 @@ HELP { GimpItem *item = gimp_item_get_by_id (gimp, item_id); - vectors = (GIMP_IS_DRAWABLE (item) && + vectors = (GIMP_IS_VECTORS (item) && ! gimp_item_is_removed (item)); } CODE