* Vintage 2, a good year.
parent
7ca868dca5
commit
5cccd4f6e5
|
@ -1170,10 +1170,6 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
//
|
||||
try
|
||||
{
|
||||
LLColor texcolor = part.Shape.Textures.DefaultTexture.RGBA;
|
||||
|
||||
// Not sure why some of these are null, oh well.
|
||||
|
||||
if (part == null)
|
||||
continue;
|
||||
|
||||
|
@ -1186,6 +1182,12 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
if (part.Shape.Textures.DefaultTexture == null)
|
||||
continue;
|
||||
|
||||
LLColor texcolor = part.Shape.Textures.DefaultTexture.RGBA;
|
||||
|
||||
// Not sure why some of these are null, oh well.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int colorr = 255 - (int)(texcolor.R * 255f);
|
||||
|
|
Loading…
Reference in New Issue