mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
cosmetics
This commit is contained in:
@@ -571,8 +571,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (k.Rotation.HasValue)
|
||||
{
|
||||
if (direction == -1)
|
||||
k.Rotation = Quaternion.Conjugate((Quaternion)k.Rotation);
|
||||
k.Rotation = rot * k.Rotation;
|
||||
k.Rotation = Quaternion.Conjugate(k.Rotation.Value);
|
||||
k.Rotation = rot * k.Rotation.Value;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -3105,9 +3105,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
*/
|
||||
UserAccount uac = UserAccountService.GetUserAccount(RegionInfo.ScopeID, user);
|
||||
if (uac is null)
|
||||
return 0;
|
||||
return uac.UserFlags;
|
||||
return uac is null ? 0 : uac.UserFlags;
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user