level_0 wrote:
GIMP Version: 2.10.14
Operating System: Windows
GIMP Experience: New User
I am trying to clean a "scripts" folder (gimp-data-extras-2.0.4) and all the ones I wanted to test are unusable with error messages, and the one that comes up often is "Error : (: 1) eval: unbound variable: NORMAL-MODE ".
Is there any modification I could make with notepad ++ to fix this
but is it really worth it ???
Constantize is a quick fix, the bad side is that if you get that old script working with it alone (old scripts have sometimes other errors too) your image will switch to legacy mode. If you want to use the new layer blending modes that were introduced in 2.10 you have to switch back to default.
That's why I recently started to fix manually.
Using constantize replaces NORMAL-MODE with LAYER-MODE-NORMAL-LEGACY (Gimp 2.8), in 2.10 default is LAYER-MODE-NORMAL.
Attachment:
procedure-browser-layer-modes.jpg [ 356.13 KiB | Viewed 3333 times ]
You can always mass-rename bigger scripts with search & replace in Notepad++/Geany to work faster.