diff options
author | Charles Krinke | 2007-12-22 22:49:37 +0000 |
---|---|---|
committer | Charles Krinke | 2007-12-22 22:49:37 +0000 |
commit | 5cd6f235ce858bd88820784375ef51d27cb039a1 (patch) | |
tree | 9861a2ff4a501195291723ec5e21ed231cd000eb /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | Remove a now unnecessary bit of inventory log verbosity (diff) | |
download | opensim-SC_OLD-5cd6f235ce858bd88820784375ef51d27cb039a1.zip opensim-SC_OLD-5cd6f235ce858bd88820784375ef51d27cb039a1.tar.gz opensim-SC_OLD-5cd6f235ce858bd88820784375ef51d27cb039a1.tar.bz2 opensim-SC_OLD-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/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 4 |
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 | ||