updated functionality and set true to test.

Todo: Cleanub and make it activalable
This commit is contained in:
Jan Schuffenhauer
2020-01-15 11:14:01 +01:00
parent d8f6f0f8f7
commit 2a1561ecfb
3 changed files with 28 additions and 20 deletions

View File

@@ -79,7 +79,10 @@ void IntelliTool::mergeToolLayer(){
updatedImage.setPixelColor(x, y, clr_0);
}
}
activeLayer->image->setImageData(updatedImage);
activeLayer->image->setImageData(updatedImage);
if(Canvas->image->getPolygonData().size() != 0){
activeLayer->image->setPolygon(Canvas->image->getPolygonData());
}
Area->DummyGui->UpdateGui();
}