Teleports, Asset upload / download, Restructure stuff, Fix varlength read bug, BVH parser, agent initial appearance and animation glitches, LLSD + Caps + Event queue
This commit is contained in:
@@ -28,16 +28,25 @@ export class UUID
|
||||
+ hexString.substr(16, 4) + '-'
|
||||
+ hexString.substr(20, 12));
|
||||
}
|
||||
else
|
||||
{
|
||||
console.error('Can\'t accept UUIDs of type ' + typeof buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public setUUID(val: string): boolean
|
||||
{
|
||||
if (validator.isUUID(val, 4))
|
||||
const test = val.trim();
|
||||
if (validator.isUUID(test))
|
||||
{
|
||||
this.mUUID = val;
|
||||
this.mUUID = test;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
console.log('Invalid UUID: ' + test + ' (length ' + val.length + ')');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user