Thank you, Alondria for:

Reverts the LSL Texture/Color functions back to the original code, allowing them to function again
This commit is contained in:
Charles Krinke
2007-12-22 22:49:37 +00:00
parent 96dbe9fea0
commit 5cd6f235ce
3 changed files with 36 additions and 5 deletions

View File

@@ -1255,12 +1255,12 @@ namespace OpenSim.Region.Environment.Scenes
tex.FaceTextures[i].RGBA = tmpcolor;
}
}
tmpcolor = tex.FaceTextures[0].RGBA;
tmpcolor = tex.DefaultTexture.RGBA;
tmpcolor.A = tmpcolor.A * 255;
tmpcolor.R = tmpcolor.R * 255;
tmpcolor.G = tmpcolor.G * 255;
tmpcolor.B = tmpcolor.B * 255;
tex.FaceTextures[0].RGBA = tmpcolor;
tex.DefaultTexture.RGBA = tmpcolor;
UpdateTextureEntry(tex.ToBytes());
}