secondlife / secondlife/viewer
Change the Recompile Scripts options to avoid breaking any SLua scripts
Open
bug
stale
triage
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
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
- Add a SLua script to a box.
- Edit the box and choose Build menu > Scripts contains "Recompile Scripts (Mono)" or "Recompile Scripts (LSL)"
Observed: Syntax error
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.