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

@@ -1,3 +1,4 @@
history tool doesnt load polygon data on undo iff project was loaded
history tool doesnt save delete Layer
Gradient breaks Heap Size, when big Witdh and Height (appeared on 1280x720)
Gradient breaks Heap Size, when big Witdh and Height (appeared on 1280x720)
Heap block at 0000000025422990 modified at 0000000025422A28 past requested size of 88

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){