Skip to content
Snippets Groups Projects
Commit 7f376e2b authored by Kitty Barnett's avatar Kitty Barnett
Browse files

- changed : examine the length of an option before trying to parse it as an UUID (thankies Yan)

    -> LLUUID::set() will write to the log when trying to parse an invalid UUID which confuses people

--HG--
branch : RLVa
parent 73551b3f
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ RlvCommandOptionGeneric::RlvCommandOptionGeneric(const std::string& strOption)
m_varOption = wtType; // ... or specify a clothing layer
else if ((pAttachPt = RlvAttachPtLookup::getAttachPoint(strOption)) != NULL)
m_varOption = pAttachPt; // ... or specify an attachment point
else if (idOption.set(strOption))
else if ( ((UUID_STR_LENGTH - 1) == strOption.length()) && (idOption.set(strOption)) )
m_varOption = idOption; // ... or specify an UUID
else if ((pFolder = RlvInventory::instance().getSharedFolder(strOption)) != NULL)
m_varOption = pFolder; // ... or specify a shared folder path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment