Thank you kindly, StrawberryFride for a patch that:
Persists appearance with MSSQL more properly.0.6.2-post-fixes
parent
bafa5a3693
commit
0125a98a1f
|
@ -536,7 +536,6 @@ namespace OpenSim.Data.MSSQL
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="user">The user.</param>
|
/// <param name="user">The user.</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
/// TODO: stubs for now to get us to a compiling state gently
|
|
||||||
override public AvatarAppearance GetUserAppearance(UUID user)
|
override public AvatarAppearance GetUserAppearance(UUID user)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -550,6 +549,12 @@ namespace OpenSim.Data.MSSQL
|
||||||
{
|
{
|
||||||
if (reader.Read())
|
if (reader.Read())
|
||||||
appearance = readUserAppearance(reader);
|
appearance = readUserAppearance(reader);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_log.WarnFormat("[USER DB] No appearance found for user {0}", user.ToString());
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue