(2023-02-15, 21:24)N. W. Perry Wrote: Here's another funny side effect: if I apply some mutation to a type 1 line, then comment it out, the comment will have greater decimal precision than the real type 1 line (i.e., 8 places rather than 6). I can go back and forth like this until I quit and re-launch, then the lower precision is "baked in".Yes, once a line is marked modified it contents will be regenerated upon save.
I think I understand why this is from prior experience, but it's important to note that the script is acting on the lines as LDCad sees them internally, not the literal source lines that will be written to the file.
(2023-02-15, 21:24)N. W. Perry Wrote: Editing to add: I'm still getting a fairly consistent crash after using my script. It's not immediate, but it does seem to accompany closing a file and/or the application, and only ever happens when I've been using the script.Thanks I will look into it.
Says it's a Wine problem, but I'll attach the log in case anyone can make sense of it:
Too bad a backtrace log won't help, as I compile releases minus debug options and heavy on optimization.