Second Life Terrain only in file types on first run
| Project: | Second Life Terrain Import and Export for The Gimp |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Domino Marama |
| Status: | fixed |
Jump to:
Description
In gimp 2.6.6 on fedora 11 (i586), your script only works the first time I load gimp. On second and subsequent loads, the 'Second Life Terrain' is not listed amongst the file types available. A crude workaround is to 'touch ~/.gimp-2.6/plug-ins/file_slraw.py' before loading gimp.
I have fixed the issue, here's a patch; it may not be directly apply-able, since the pre tag isn't preserving whitespace as I would expect:
--- a/file_slraw.py 2009-08-20 14:31:08.799949945 -0400
+++ b/file_slraw.py 2009-08-21 14:19:20.786770540 -0400
@@ -102,7 +102,7 @@
"Domino Designs Limited",
"2008",
"Second Life Terrain",
- "GRAY",
+ "",
[
(PF_STRING, "filename", "File Name",""),
(PF_STRING, "raw-filename", "raw file name", "")
Since RAW files are already grayscale, this change doesn't actually hurt anything, and it clears up both the weird startup message ("file-slraw-load doesn't take the standard save handler parameters") and allows the script to work on successive starts of the gimp.
Thanks for the excellent tools 

Comments
#1
I've uploaded a new version of the script with this change. And adjusted the html filter so that pre tags will work
Post new comment