fix bug in update manager

This commit is contained in:
IlyaShurupov 2024-11-05 21:28:59 +03:00
parent b5e490a0f8
commit 2de6bc82b7
2 changed files with 5 additions and 3 deletions

View file

@ -280,7 +280,7 @@ void PencilBrush::draw(Renderer* render, const Camera* camera) {
}
PencilBrush::~PencilBrush() {
if (mStroke) delete mStroke;
delete mStroke;
}
void PencilBrush::finish(Project* proj) {