Commit e98255ef authored by ONO Yoshio's avatar ONO Yoshio

Issue #2124 - The origin of vertical, right to left text does not...

... load correctly

Fixed incorrect initialization of private base_dir.
parent 2bec4b0a
......@@ -463,8 +463,6 @@ gimp_text_layer_new (GimpImage *image,
gimp_text_layer_set_text (layer, text);
layer->private->base_dir = text->base_dir;
if (! gimp_text_layer_render (layer))
g_object_unref (layer);
......@@ -496,6 +494,7 @@ gimp_text_layer_set_text (GimpTextLayer *layer,
if (text)
layer->text = g_object_ref (text);
layer->private->base_dir = layer->text->base_dir;
g_signal_connect_object (text, "changed",
G_CALLBACK (gimp_text_layer_text_changed),
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