mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user