Add menu item Build > Scripts > Recompile Scripts (Lua)
Tapple Gao
This menu has 2 items for recompiling LSL scripts under the 2 old VM's. It should also have the new VM:
- Recompile Scripts (LSL)
- Recompile Scripts (Mono)
- Recompile Scripts (Lua)
Currently, I need to open every script and change it's vm, press save, close
---
Also, I noticed 3 bugs with Recompile scripts:
- It sets not-running scripts to running (I had them not running for a reason)
- Scripts recompiled to LSO2 this way do not show the correct vm when you open the script. Most of them say "LSL: Mono". This one said "SLua":
default { state_entry() {
llOwnerSay(llGetScriptName() + " " + (string)llGetMemoryLimit());
}}
- Lua (the language) scripts are skipped and not recompiled. The new "Recompile Lua" menu item should not skip those
Log In
Nelson Jenkins
I'd prefer a consolidated "Recompile Scripts" option that keeps the extant VM for each script, if anything. I imagine the number of people out there who need to mass-swap between VMs is almost negligible compared to the number of people who just want to recompile stuff in place en masse.
Tapple Gao
Nelson Jenkins unsure what the point of recompiling is unless you change VM's. Maybe when a lua update is released with new compiler optimizations.
Anyway, mass updating from Mono to Lua is going to be pretty in-demand when Lua is released. Yeah, it will trail off afterward