Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_update_selection_job.cpp
Show All 24 Lines | 24 | KisUpdateSelectionJob::KisUpdateSelectionJob(KisSelectionSP selection, const QRect &updateRect) | |||
---|---|---|---|---|---|
25 | : m_selection(selection), | 25 | : m_selection(selection), | ||
26 | m_updateRect(updateRect) | 26 | m_updateRect(updateRect) | ||
27 | { | 27 | { | ||
28 | /** | 28 | /** | ||
29 | * TODO: we should implement correct KisShapeSelectionCanvas for | 29 | * TODO: we should implement correct KisShapeSelectionCanvas for | ||
30 | * projection. See a comment in KisUpdateSelectionJob::run(). | 30 | * projection. See a comment in KisUpdateSelectionJob::run(). | ||
31 | * | 31 | * | ||
32 | * Right now, since this job accesses some projections for write, we | 32 | * Right now, since this job accesses some projections for write, we | ||
33 | * shoudl declare it as exclusive | 33 | * should declare it as exclusive | ||
34 | */ | 34 | */ | ||
35 | 35 | | |||
36 | setExclusive(true); | 36 | setExclusive(true); | ||
37 | } | 37 | } | ||
38 | 38 | | |||
39 | bool KisUpdateSelectionJob::overrides(const KisSpontaneousJob *_otherJob) | 39 | bool KisUpdateSelectionJob::overrides(const KisSpontaneousJob *_otherJob) | ||
40 | { | 40 | { | ||
41 | const KisUpdateSelectionJob *otherJob = | 41 | const KisUpdateSelectionJob *otherJob = | ||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |