3 hours ago
(This post was last modified: 3 hours ago by vitforlinux.)
![[Image: gimp-version.jpg.jpg]](https://vitforlinux.wordpress.com/wp-content/uploads/2025/02/gimp-version.jpg.jpg)
I used to use a string to handle the version change in my SCM script-fu, but things have changed and I have to change the string, anyone who encounters it knows it, now instead of (if instead of 2.10 you find 2.1 it's the same).
Code:
(= (string->number (substring (car(gimp-version)) 0 3)) 2.10)
you have to use
Code:
(not (defined? 'gimp-drawable-filter-new))
gimp-drawable-filter-new exists only in new Gimp 3.0 rc3.
A collection of fixed ScriptFu can be found here:
https://github.com/vitforlinux-gimp/scm/...es/tag/3.0