SetTexture_fix
parent
456cdee5ce
commit
3585130ac8
|
@ -1750,13 +1750,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
UUID textureID=new UUID();
|
UUID textureID=new UUID();
|
||||||
|
|
||||||
if (!UUID.TryParse(texture, out textureID))
|
textureID=InventoryKey(texture, (int)AssetType.Texture);
|
||||||
{
|
if (textureID == UUID.Zero)
|
||||||
textureID=InventoryKey(texture, (int)AssetType.Texture);
|
{
|
||||||
}
|
if (!UUID.TryParse(texture, out textureID))
|
||||||
|
return;
|
||||||
if (textureID == UUID.Zero)
|
}
|
||||||
return;
|
|
||||||
|
|
||||||
Primitive.TextureEntry tex = part.Shape.Textures;
|
Primitive.TextureEntry tex = part.Shape.Textures;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue