Evas textblock: Don't mark nodes as clean when in 'calc_only'.

SVN revision: 58446
This commit is contained in:
Tom Hacohen 2011-04-07 13:13:38 +00:00
parent 703b835643
commit 0f964640ae
1 changed files with 2 additions and 2 deletions

View File

@ -3232,12 +3232,12 @@ _layout_visualize_par(Ctxt *c)
/* Check if we need to skip this paragraph because it's already layouted
* correctly, and mark handled nodes as dirty. */
c->par->line_no = c->line_no;
if (c->par->text_node)
if (c->par->text_node && !c->calc_only)
{
/* Skip this paragraph if width is the same, there is no ellipsis
* and we aren't just calculating. */
if (!c->par->text_node->new && !c->par->text_node->dirty &&
!c->calc_only && !c->width_changed && c->par->lines &&
!c->width_changed && c->par->lines &&
!c->o->have_ellipsis)
{
Evas_Object_Textblock_Line *ln;