aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorCharles Krinke2007-12-22 22:49:37 +0000
committerCharles Krinke2007-12-22 22:49:37 +0000
commit5cd6f235ce858bd88820784375ef51d27cb039a1 (patch)
tree9861a2ff4a501195291723ec5e21ed231cd000eb /OpenSim/Region/Environment
parentRemove a now unnecessary bit of inventory log verbosity (diff)
downloadopensim-SC-5cd6f235ce858bd88820784375ef51d27cb039a1.zip
opensim-SC-5cd6f235ce858bd88820784375ef51d27cb039a1.tar.gz
opensim-SC-5cd6f235ce858bd88820784375ef51d27cb039a1.tar.bz2
opensim-SC-5cd6f235ce858bd88820784375ef51d27cb039a1.tar.xz
Thank you, Alondria for:
Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index f3be4bd..5398de0 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1255,12 +1255,12 @@ namespace OpenSim.Region.Environment.Scenes
1255 tex.FaceTextures[i].RGBA = tmpcolor; 1255 tex.FaceTextures[i].RGBA = tmpcolor;
1256 } 1256 }
1257 } 1257 }
1258 tmpcolor = tex.FaceTextures[0].RGBA; 1258 tmpcolor = tex.DefaultTexture.RGBA;
1259 tmpcolor.A = tmpcolor.A * 255; 1259 tmpcolor.A = tmpcolor.A * 255;
1260 tmpcolor.R = tmpcolor.R * 255; 1260 tmpcolor.R = tmpcolor.R * 255;
1261 tmpcolor.G = tmpcolor.G * 255; 1261 tmpcolor.G = tmpcolor.G * 255;
1262 tmpcolor.B = tmpcolor.B * 255; 1262 tmpcolor.B = tmpcolor.B * 255;
1263 tex.FaceTextures[0].RGBA = tmpcolor; 1263 tex.DefaultTexture.RGBA = tmpcolor;
1264 UpdateTextureEntry(tex.ToBytes()); 1264 UpdateTextureEntry(tex.ToBytes());
1265 } 1265 }
1266 1266