Update Bug

This commit is contained in:
AshBastian
2020-01-26 18:57:30 +01:00
parent 710848307f
commit 657eba80f2
2 changed files with 3 additions and 3 deletions

View File

@@ -120,10 +120,9 @@ void IntelliToolGradient::computeGradientLayer(){
switched = true;
Canvas->image->updateRendererSetting(false);
}
qDebug() << activeLayer->width << activeLayer->height;
for(int i = 0; i < activeLayer->height; i++){
for(int j = 0; j < activeLayer->width; j++){
computePixelColor(QPoint(i,j));
computePixelColor(QPoint(j,i));
}
}
if(switched){