Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix crash when undoing liquify
Luna Lovecraftccb4abdae578
diff --git a/plugins/tools/tool_transform2/kis_tool_transform.cc b/plugins/tools/tool_transform2/kis_tool_transform.ccindex 90572f2392..46ccdb0661 100644--- a/plugins/tools/tool_transform2/kis_tool_transform.cc+++ b/plugins/tools/tool_transform2/kis_tool_transform.cc@@ -857,7 +857,7 @@ void KisToolTransform::deactivate()void KisToolTransform::requestUndoDuringStroke(){- if (!m_strokeId || m_transaction.rootNodes().isEmpty()) return;+ if (!m_strokeId || m_transaction.rootNodes().isEmpty() || mode() != HOVER_MODE) return;if (!m_changesTracker.canUndo()) {cancelStroke();