Changeset 13848 for trunk/i.php


Ignore:
Timestamp:
Apr 2, 2012, 6:00:15 AM (12 years ago)
Author:
rvelices
Message:

don't rotate several times derivatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/i.php

    r13843 r13848  
    322322    $page['src_path'] = $candidate_path;
    323323    $page['src_url'] = $page['root_path'] . substr($candidate_path, strlen(PHPWG_ROOT_PATH));
     324    $page['rotation_angle'] = 0;
    324325  }
    325326}
     
    510511
    511512// rotate
    512 if (0 != $page['rotation_angle'])
     513if (0 != (int)$page['rotation_angle'])
    513514{
    514515  $image->rotate($page['rotation_angle']);
     516  $changes++;
     517  $timing['rotate'] = time_step($step);
    515518}
    516519
Note: See TracChangeset for help on using the changeset viewer.