animator-video-reference
animator-video-reference copied to clipboard
Works for version 5.0
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:
def checkKritaVersion(self):
# major version should be 4 or above
majorVersion = app.version().split(".")[0]
# minor version should be 2 or above
minorVersion = app.version().split(".")[1]
if (int(majorVersion) < 4 ) & (int(minorVersion) < 2 ):
self.kritaVersionOk = 0
return
self.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?
@Seraaron Just an fyi, 5.0 has animation video import built in.
File->Import video animation...