~ubuntu-branches/ubuntu/raring/koffice/raring

« back to all changes in this revision

Viewing changes to krita/image/recorder/kis_recorded_filter_action.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-12-06 15:30:09 UTC
  • mfrom: (0.13.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206153009-yf0dqbp9l7fzwxi8
Tags: 1:2.2.91-0ubuntu1
New upstream RC release

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        QRect r1 = dev->extent();
96
96
        KisTransaction transaction(d->filter->name(), dev);
97
97
 
98
 
        // Ugly hack to get at the image without bloating the node interface
99
 
        KisImageWSP image;
 
98
        KisImageWSP image = info.image();
100
99
        r1 = r1.intersected(image->bounds());
101
100
        if (layer && layer->selectionMask()) {
102
101
            r1 = r1.intersected(layer->selectionMask()->exactBounds());