remove early return from PrimitiveBaseShape.ToOmvPrimitive() when prim is a sculpty
parent
1afd347615
commit
54b5677f23
|
@ -1099,8 +1099,6 @@ namespace OpenSim.Framework
|
||||||
prim.Sculpt = new Primitive.SculptData();
|
prim.Sculpt = new Primitive.SculptData();
|
||||||
prim.Sculpt.Type = (OpenMetaverse.SculptType)this.SculptType;
|
prim.Sculpt.Type = (OpenMetaverse.SculptType)this.SculptType;
|
||||||
prim.Sculpt.SculptTexture = this.SculptTexture;
|
prim.Sculpt.SculptTexture = this.SculptTexture;
|
||||||
|
|
||||||
return prim;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
prim.PrimData.PathShearX = this.PathShearX < 128 ? (float)this.PathShearX * 0.01f : (float)(this.PathShearX - 256) * 0.01f;
|
prim.PrimData.PathShearX = this.PathShearX < 128 ? (float)this.PathShearX * 0.01f : (float)(this.PathShearX - 256) * 0.01f;
|
||||||
|
|
Loading…
Reference in New Issue