Fixed LLControlGroup::get() template to not crash on missing items. Reviewed
by Kellymaster
parent
5f75cf5777
commit
7e7f183f0a
|
|
@ -254,6 +254,7 @@ public:
|
|||
else
|
||||
{
|
||||
llwarns << "Control " << name << " not found." << llendl;
|
||||
return T();
|
||||
}
|
||||
return convert_from_llsd<T>(value, type, name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue