From 54b5677f23e6f65e7da8ad8c54a086d7d11f8f55 Mon Sep 17 00:00:00 2001 From: dahlia Date: Fri, 20 Nov 2009 03:12:07 -0800 Subject: remove early return from PrimitiveBaseShape.ToOmvPrimitive() when prim is a sculpty --- OpenSim/Framework/PrimitiveBaseShape.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index e43d634..fe8f020 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs @@ -1099,8 +1099,6 @@ namespace OpenSim.Framework prim.Sculpt = new Primitive.SculptData(); prim.Sculpt.Type = (OpenMetaverse.SculptType)this.SculptType; prim.Sculpt.SculptTexture = this.SculptTexture; - - return prim; } prim.PrimData.PathShearX = this.PathShearX < 128 ? (float)this.PathShearX * 0.01f : (float)(this.PathShearX - 256) * 0.01f; -- cgit v1.1