Skip to content

LAND_SMALL_BRUSH / LAND_MEDIUM_BRUSH / LAND_LARGE_BRUSH #14

@Martin-Pitt

Description

@Martin-Pitt

While investigating a related ground function (llSetGroundTexture has no documentation on the return value, still a mystery), I noticed a ridiculous situation with llModifyLand.

The small brush reads as:

LAND_SMALL_BRUSH:
  tooltip: 'Use a small brush size.\nNOTE: This value is incorrect, a small brush
    should be 0.'
  type: integer
  value: 1

Same with the other brush constants

Is this a legacy error? If the LSL definition is really the source of truth — could this be amended and should it?

This issue is unimportant/trivial in the grand scheme of things and I was thinking of not bringing it up, but it does help settle how far reaching error fixes to the definition file can be and what the resolution process to issues could be as well as a case study. An alternative fix for example could be a new set of constants with the correct enumeration and deprecating the old constants.


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 #14 either in the PR description or in a PR's comment.

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions