Skip to content

Change the Recompile Scripts options to avoid breaking any SLua scripts #5359

@Dan-Linden

Description

@Dan-Linden

Environment

Second Life Project Lua Editor 26.1.0.21525310258 (64bit)
https://maps.secondlife.com/secondlife/SLua%20Beta%20Anderson/128/125/23

Description

The Build menu > Scripts contains "Recompile Scripts (Mono)" and "Recompile Scripts (LSL)"
Choosing either of these will break any SLua scripts in the object.
Remove both of those menu items and add a "Recompile Scripts" which will recompile each script in the Compiler format it already uses.

Making it easy to update scripts from LSL to Mono had value once upon a time, but not anymore.

Reproduction steps

  1. Add a SLua script to a box.
  2. Edit the box and choose Build menu > Scripts contains "Recompile Scripts (Mono)" or "Recompile Scripts (LSL)"

Observed: Syntax error
Image

Expected: Allow recompiling scripts of different compile types in an object.


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #5359 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @Dan-Linden (replace 20 with the amount, and @Dan-Linden with the user to tip).

📖 If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageFlags issues that need to be triaged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions