#4524 LLControlVariable error

master
Andrey Kleshchev 2025-08-12 19:55:13 +03:00 committed by Andrey Kleshchev
parent 1bcdf6824c
commit ea24792fec
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,9 @@ LLControlVariable::LLControlVariable(const std::string& name, eControlType type,
{
if ((persist != PERSIST_NO) && mComment.empty())
{
// File isn't actually missing, but something is wrong with it
// so the main point is to warn user to reinstall
LLError::LLUserWarningMsg::showMissingFiles();
LL_ERRS() << "Must supply a comment for control " << mName << LL_ENDL;
}
//Push back versus setValue'ing here, since we don't want to call a signal yet