aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Primitive.cs
diff options
context:
space:
mode:
authorMW2007-07-11 18:32:32 +0000
committerMW2007-07-11 18:32:32 +0000
commit17ddb8b49323777b4678270ebbf4859dd8842abd (patch)
tree048d805596550f01ed7354c4e7b313146e1e1513 /OpenSim/Region/Environment/Scenes/Primitive.cs
parentMore work on UserProfile and inventory cache (still currently not enabled). (diff)
downloadopensim-SC_OLD-17ddb8b49323777b4678270ebbf4859dd8842abd.zip
opensim-SC_OLD-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.gz
opensim-SC_OLD-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.bz2
opensim-SC_OLD-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.xz
Hopefully texturing prims should now work correctly.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Primitive.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Primitive.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs
index d23a569..d28e480 100644
--- a/OpenSim/Region/Environment/Scenes/Primitive.cs
+++ b/OpenSim/Region/Environment/Scenes/Primitive.cs
@@ -242,7 +242,8 @@ namespace OpenSim.Region.Environment.Scenes
242 pShape.PathTaperY = addPacket.ObjectData.PathTaperY; 242 pShape.PathTaperY = addPacket.ObjectData.PathTaperY;
243 pShape.PathTwist = addPacket.ObjectData.PathTwist; 243 pShape.PathTwist = addPacket.ObjectData.PathTwist;
244 pShape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin; 244 pShape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin;
245 245 LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-9999-000000000005"));
246 pShape.TextureEntry = ntex.ToBytes();
246 this.updateFlag = 1; 247 this.updateFlag = 1;
247 } 248 }
248 #endregion 249 #endregion
@@ -501,6 +502,17 @@ namespace OpenSim.Region.Environment.Scenes
501 } 502 }
502 #endregion 503 #endregion
503 504
505 #region Texture
506 /// <summary>
507 ///
508 /// </summary>
509 /// <param name="textureEntry"></param>
510 public void UpdateTextureEntry(byte[] textureEntry)
511 {
512 this.m_Shape.TextureEntry = textureEntry;
513 this.updateFlag = 1;
514 }
515 #endregion
504 #region Client Update Methods 516 #region Client Update Methods
505 517
506 /// <summary> 518 /// <summary>