* Vintage 2, a good year.

0.6.0-stable
Teravus Ovares 2008-06-14 20:33:03 +00:00
parent 7ca868dca5
commit 5cccd4f6e5
1 changed files with 6 additions and 4 deletions

View File

@ -1170,10 +1170,6 @@ namespace OpenSim.Region.Environment.Scenes
// //
try try
{ {
LLColor texcolor = part.Shape.Textures.DefaultTexture.RGBA;
// Not sure why some of these are null, oh well.
if (part == null) if (part == null)
continue; continue;
@ -1186,6 +1182,12 @@ namespace OpenSim.Region.Environment.Scenes
if (part.Shape.Textures.DefaultTexture == null) if (part.Shape.Textures.DefaultTexture == null)
continue; 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); int colorr = 255 - (int)(texcolor.R * 255f);