diff --git a/knownBugs.txt b/knownBugs.txt index 54b8e59..824bf08 100644 --- a/knownBugs.txt +++ b/knownBugs.txt @@ -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) \ No newline at end of file +Gradient breaks Heap Size, when big Witdh and Height (appeared on 1280x720) +Heap block at 0000000025422990 modified at 0000000025422A28 past requested size of 88 \ No newline at end of file diff --git a/src/Tool/IntelliToolGradient.cpp b/src/Tool/IntelliToolGradient.cpp index 6a52a5f..2b36494 100644 --- a/src/Tool/IntelliToolGradient.cpp +++ b/src/Tool/IntelliToolGradient.cpp @@ -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){