Fix shape parameters sent for meshes tosupport the full number of faces
parent
7d7736dc73
commit
3108d18ffb
|
@ -3802,6 +3802,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
part.Shape.LightEntry = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (part.Shape != null && (part.Shape.SculptType == (byte)SculptType.Mesh))
|
||||
{
|
||||
// Ensure that mesh has at least 8 valid faces
|
||||
part.Shape.ProfileBegin = 12500;
|
||||
part.Shape.ProfileEnd = 0;
|
||||
part.Shape.ProfileHollow = 27500;
|
||||
}
|
||||
}
|
||||
|
||||
#region UpdateFlags to packet type conversion
|
||||
|
|
Loading…
Reference in New Issue