text: Reverting 03443ffc
Resolves #11409
After Jehan's update to
gimp_drawable_filter_refresh_crop () in
0157a958, it no longer calls the cropping
functions which this commit was intended
to work around.
Additionally, thanks to other changes in
the filter code since then, reverting this
commit resolves an issue where some
Render filters would not update as you
typed more characters.
This commit is contained in:
parent
0dc65755fe
commit
664729a55c
1 changed files with 0 additions and 16 deletions
|
|
@ -96,8 +96,6 @@ static void gimp_text_layer_set_rasterized (GimpRasterizable *rasterizabl
|
|||
static gint64 gimp_text_layer_get_memsize (GimpObject *object,
|
||||
gint64 *gui_size);
|
||||
|
||||
static void gimp_text_layer_size_changed (GimpViewable *viewable);
|
||||
|
||||
static GimpItem * gimp_text_layer_duplicate (GimpItem *item,
|
||||
GType new_type);
|
||||
|
||||
|
|
@ -156,7 +154,6 @@ gimp_text_layer_class_init (GimpTextLayerClass *klass)
|
|||
|
||||
viewable_class->default_icon_name = "gimp-text-layer";
|
||||
viewable_class->default_name = _("Text Layer");
|
||||
viewable_class->size_changed = gimp_text_layer_size_changed;
|
||||
|
||||
item_class->duplicate = gimp_text_layer_duplicate;
|
||||
item_class->rename = gimp_rasterizable_rename;
|
||||
|
|
@ -280,19 +277,6 @@ gimp_text_layer_get_memsize (GimpObject *object,
|
|||
gui_size);
|
||||
}
|
||||
|
||||
static void
|
||||
gimp_text_layer_size_changed (GimpViewable *viewable)
|
||||
{
|
||||
GimpTextLayer *text_layer = GIMP_TEXT_LAYER (viewable);
|
||||
|
||||
/* TODO: For now, we only let the size_changed () call bubble up to
|
||||
* gimp_drawable_size_changed () if the layer has been rasterized by
|
||||
* a transform. This prevents filters like Drop Shadow from being
|
||||
* cropped just by typing */
|
||||
if (gimp_rasterizable_is_rasterized (GIMP_RASTERIZABLE (text_layer)))
|
||||
GIMP_VIEWABLE_CLASS (parent_class)->size_changed (viewable);
|
||||
}
|
||||
|
||||
static GimpItem *
|
||||
gimp_text_layer_duplicate (GimpItem *item,
|
||||
GType new_type)
|
||||
|
|
|
|||
Loading…
Reference in a new issue