aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/world/Primitive.cs
diff options
context:
space:
mode:
authorMW2007-03-30 16:50:19 +0000
committerMW2007-03-30 16:50:19 +0000
commitbcae0bce8573ba7a567c4d63ffd8c9cbfe269684 (patch)
treef5914caa64651e1591443c631b74e2610953159e /OpenSim.RegionServer/world/Primitive.cs
parent(no commit message) (diff)
downloadopensim-SC-bcae0bce8573ba7a567c4d63ffd8c9cbfe269684.zip
opensim-SC-bcae0bce8573ba7a567c4d63ffd8c9cbfe269684.tar.gz
opensim-SC-bcae0bce8573ba7a567c4d63ffd8c9cbfe269684.tar.bz2
opensim-SC-bcae0bce8573ba7a567c4d63ffd8c9cbfe269684.tar.xz
Some very basic terraforming, can raise and lower the terrain, but currently only a very basic brush algorithm (and can't change the brushes size)
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/world/Primitive.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim.RegionServer/world/Primitive.cs b/OpenSim.RegionServer/world/Primitive.cs
index ca764a7..2f97053 100644
--- a/OpenSim.RegionServer/world/Primitive.cs
+++ b/OpenSim.RegionServer/world/Primitive.cs
@@ -295,13 +295,15 @@ namespace OpenSim.world
295 objupdate.ObjectData[0].PSBlock = new byte[0]; 295 objupdate.ObjectData[0].PSBlock = new byte[0];
296 objupdate.ObjectData[0].ExtraParams = new byte[1]; 296 objupdate.ObjectData[0].ExtraParams = new byte[1];
297 objupdate.ObjectData[0].MediaURL = new byte[0]; 297 objupdate.ObjectData[0].MediaURL = new byte[0];
298 objupdate.ObjectData[0].NameValue = new byte[0]; 298 objupdate.ObjectData[0].NameValue = new byte[2];
299 objupdate.ObjectData[0].NameValue[0] = (byte)'t';
300 objupdate.ObjectData[0].NameValue[1] = (byte)'o';
299 objupdate.ObjectData[0].Text = new byte[0]; 301 objupdate.ObjectData[0].Text = new byte[0];
300 objupdate.ObjectData[0].TextColor = new byte[4]; 302 objupdate.ObjectData[0].TextColor = new byte[4];
301 objupdate.ObjectData[0].JointAxisOrAnchor = new LLVector3(0, 0, 0); 303 objupdate.ObjectData[0].JointAxisOrAnchor = new LLVector3(0, 0, 0);
302 objupdate.ObjectData[0].JointPivot = new LLVector3(0, 0, 0); 304 objupdate.ObjectData[0].JointPivot = new LLVector3(0, 0, 0);
303 objupdate.ObjectData[0].Material = 3; 305 objupdate.ObjectData[0].Material = 3;
304 objupdate.ObjectData[0].UpdateFlags = 32 + 65536 + 131072 + 256 + 4 + 8 + 2048 + 524288 + 268435456; 306 objupdate.ObjectData[0].UpdateFlags = 32 + 65536 + 131072 + 256 + 4 + 8 + 2048 + 524288 + 268435456;
305 objupdate.ObjectData[0].TextureAnim = new byte[0]; 307 objupdate.ObjectData[0].TextureAnim = new byte[0];
306 objupdate.ObjectData[0].Sound = LLUUID.Zero; 308 objupdate.ObjectData[0].Sound = LLUUID.Zero;
307 LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); 309 LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));