secondlife / secondlife/viewer

Change the Recompile Scripts options to avoid breaking any SLua scripts

Open
#5,359 3 comments 0 reactions 1 assignee View on GitHub

@marchcat is already working on this.

Since Feb 3, 2026.

  • #5371 by @marchcat — merged
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
  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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.