mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Vintage 2, a good year.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user