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

« back to all changes in this revision

Viewing changes to krita/ui/kis_mask_manager.cc

  • 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:
179
179
    m_commandsAdapter->addNode(mask, parent, above);
180
180
 
181
181
    /**
182
 
     * FIXME: We'll use layer's paint device for creation of a thumbnail.
 
182
     * FIXME: We'll use layer's original for creation of a thumbnail.
183
183
     * Actually, we can't use it's projection as newly created mask
184
184
     * may be going to be inserted in the middle of the masks stack
185
185
     */
186
 
    KisPaintDeviceSP paintDevice = layer->paintDevice();
187
 
 
188
 
 
189
 
    KisDlgAdjustmentLayer dialog(mask, mask, paintDevice, m_view->image(),
 
186
    KisPaintDeviceSP originalDevice = layer->original();
 
187
 
 
188
 
 
189
    KisDlgAdjustmentLayer dialog(mask, mask, originalDevice, m_view->image(),
190
190
                                 mask->name(), i18n("New Filter Mask"),
191
191
                                 m_view, "dlgfiltermask");
192
192