Prevent warnings about invalid UUIDs caused by invalid RLV commands produced by MoDesign Collar (and maybe others as well)
parent
78b47d0d15
commit
79aca1f0ed
|
|
@ -610,6 +610,11 @@ bool RlvCommand::parseCommand(const std::string& strCommand, std::string& strBeh
|
|||
template<>
|
||||
bool RlvCommandOptionHelper::parseOption<LLUUID>(const std::string& strOption, LLUUID& idOption)
|
||||
{
|
||||
if (!LLUUID::validate(strOption))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
idOption.set(strOption);
|
||||
return idOption.notNull();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue