Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_cage_transform_worker.cpp
Context not available. | |||||
164 | 164 | | |||
---|---|---|---|---|---|
165 | // no need to process empty devices | 165 | // no need to process empty devices | ||
166 | if (srcBounds.isEmpty()) return; | 166 | if (srcBounds.isEmpty()) return; | ||
167 | | ||||
168 | m_d->gridSize = | 167 | m_d->gridSize = | ||
169 | GridIterationTools::calcGridSize(srcBounds, m_d->pixelPrecision); | 168 | GridIterationTools::calcGridSize(srcBounds, m_d->pixelPrecision); | ||
170 | 169 | | |||
Context not available. | |||||
172 | GridIterationTools::processGrid(pointsOp, srcBounds, m_d->pixelPrecision); | 171 | GridIterationTools::processGrid(pointsOp, srcBounds, m_d->pixelPrecision); | ||
173 | 172 | | |||
174 | const int numPoints = pointsOp.m_points.size(); | 173 | const int numPoints = pointsOp.m_points.size(); | ||
175 | | ||||
176 | KIS_ASSERT_RECOVER_RETURN(numPoints == m_d->gridSize.width() * m_d->gridSize.height()); | 174 | KIS_ASSERT_RECOVER_RETURN(numPoints == m_d->gridSize.width() * m_d->gridSize.height()); | ||
177 | 175 | | |||
178 | m_d->allSrcPoints = pointsOp.m_points; | 176 | m_d->allSrcPoints = pointsOp.m_points; | ||
Context not available. |