mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
revert the use of avatar skeleton and use avatar size provided by viewers,
since at least for now seems good enought
This commit is contained in:
@@ -201,7 +201,8 @@ namespace OpenSim.Services.Interfaces
|
||||
appearance.Serial = Int32.Parse(Data["Serial"]);
|
||||
|
||||
if (Data.ContainsKey("AvatarHeight"))
|
||||
appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]);
|
||||
appearance.SetSize(new Vector3(0.45f, 0.6f, float.Parse(Data["AvatarHeight"])));
|
||||
// appearance.AvatarHeight = float.Parse(Data["AvatarHeight"]);
|
||||
|
||||
// Legacy Wearables
|
||||
if (Data.ContainsKey("BodyItem"))
|
||||
@@ -339,6 +340,7 @@ namespace OpenSim.Services.Interfaces
|
||||
appearance.Wearables[AvatarWearable.EYES].Wear(
|
||||
AvatarWearable.DefaultWearables[
|
||||
AvatarWearable.EYES][0]);
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user