Set wearables count to max legacy wearables for version < 0.4
parent
f88e4a1ec9
commit
6bb12ab975
|
@ -392,6 +392,11 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||||
foreach (OSD o in array)
|
foreach (OSD o in array)
|
||||||
featuresAvailable.Add(new UUID(o.AsString()));
|
featuresAvailable.Add(new UUID(o.AsString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Version stuff
|
||||||
|
if (ctx.OutboundVersion < 0.4)
|
||||||
|
ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES;
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Reference in New Issue