secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
212 stars 53 forks source link

Lua: Printing LLDebugSetting crashes viewer #3119

Open AtlasLinden opened 4 days ago

AtlasLinden commented 4 days ago

Environment

Second Life Develop build: 7.1.12.11839252315

Description

The below script to edit and print the value of a debug setting is crashing the viewer upon execution.

No change if a different debug setting is used or if the debug setting is manually changed.

Reproduction steps

local LLDebugSettings = require 'LLDebugSettings'

LLDebugSettings.set("360CaptureCameraFOV", 100)

debug = LLDebugSettings.get("360CaptureCameraFOV")
LL.print_info(debug)