You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, this script works for any Krita version above 4.2, and testing it out in Krita 5 seems to work just fine. However, in order to get it to work in Krita 5 I had to change the code in the checkKritaVersion() function to the following:
defcheckKritaVersion(self):
# major version should be 4 or above majorVersion=app.version().split(".")[0]
# minor version should be 2 or aboveminorVersion=app.version().split(".")[1]
if (int(majorVersion) <4 ) & (int(minorVersion) <2 ):
self.kritaVersionOk=0returnself.kritaVersionOk=1
Basically changing an OR to an AND for the minor version number.
Might I suggest this fix is included in future releases, unless someone finds some breaking issue in Krita 5 and above?
The text was updated successfully, but these errors were encountered:
As far as I can tell, this script works for any Krita version above 4.2, and testing it out in Krita 5 seems to work just fine. However, in order to get it to work in Krita 5 I had to change the code in the
checkKritaVersion()
function to the following:Basically changing an OR to an AND for the minor version number.
Might I suggest this fix is included in future releases, unless someone finds some breaking issue in Krita 5 and above?
The text was updated successfully, but these errors were encountered: