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++
One more attempt to fix assert on node activation from Python
Dmitry Kazakov6c294f580497
diff --git a/libs/global/KisSynchronizedConnection.cpp b/libs/global/KisSynchronizedConnection.cppindex 57c442244b..26661776b7 100644--- a/libs/global/KisSynchronizedConnection.cpp+++ b/libs/global/KisSynchronizedConnection.cpp@@ -80,6 +80,13 @@ bool KisSynchronizedConnectionBase::isAutoModeForUnittestsEnabled()void KisSynchronizedConnectionBase::forceDeliverAllSynchronizedEvents(){+ /**+ * We need to first make sure that all the events are delivered+ * to the applications object and then make sure they are processed+ * whatever the state of the recursion is (this call is called from+ * python filters only)+ */+ qApp->processEvents(QEventLoop::ExcludeUserInputEvents);KIS_SAFE_ASSERT_RECOVER_RETURN(s_barrier->callback);s_barrier->callback();}