* Patch from Melanie. Thanks Melanie!

* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
afrisby
Teravus Ovares 2007-12-28 05:36:28 +00:00
parent 67bbed8202
commit 5bd5770ed2
9 changed files with 21 additions and 29 deletions

View File

@ -140,7 +140,7 @@ namespace OpenSim.Framework
static PrimitiveBaseShape()
{
m_defaultTexture =
new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-9999-000000000005"));
new LLObject.TextureEntry(new LLUUID("89556747-24cb-43ed-920b-47caed15465f"));
}
public PrimitiveBaseShape()
@ -238,4 +238,4 @@ namespace OpenSim.Framework
Scale.X = Scale.Y = radius*2f;
}
}
}
}

View File

@ -3520,7 +3520,7 @@ namespace OpenSim.Region.ClientStack
shape.PathTaperY = addPacket.ObjectData.PathTaperY;
shape.PathTwist = addPacket.ObjectData.PathTwist;
shape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin;
LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-9999-000000000005"));
LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("89556747-24cb-43ed-920b-47caed15465f"));
shape.Textures = ntex;
return shape;
}
@ -3537,4 +3537,4 @@ namespace OpenSim.Region.ClientStack
OutPacket(logReply, ThrottleOutPacketType.Task);
}
}
}
}

View File

@ -335,49 +335,41 @@
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="peaches.jp2" />
</Section>
<!-- Copied from hardcoded values -->
<Section Name="Bricks">
<Section Name="bricks">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000001"/>
<Key Name="name" Value="Bricks"/>
<Key Name="name" Value="bricks"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="bricks.jp2"/>
</Section>
<Section Name="Plywood">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000002"/>
<Key Name="name" Value="Plywood"/>
<Section Name="plywood">
<Key Name="assetID" Value="89556747-24cb-43ed-920b-47caed15465f"/>
<Key Name="name" Value="plywood"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="plywood.jp2"/>
</Section>
<Section Name="Rocks">
<Section Name="rocks">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000003"/>
<Key Name="name" Value="Rocks"/>
<Key Name="name" Value="rocks"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="rocks.jp2"/>
</Section>
<Section Name="Granite">
<Section Name="granite">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000004"/>
<Key Name="name" Value="Granite"/>
<Key Name="name" Value="granite"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="granite.jp2"/>
</Section>
<Section Name="Hardwood">
<Section Name="hardwood">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000005"/>
<Key Name="name" Value="Hardwood"/>
<Key Name="name" Value="hardwood"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="hardwood.jp2"/>
</Section>
<Section Name="Prim Base Texture">
<Key Name="assetID" Value="00000000-0000-1111-5005-000000000005"/>
<Key Name="name" Value="Prim Base Texture"/>
<Key Name="assetType" Value="0" />
<Key Name="inventoryType" Value="0" />
<Key Name="fileName" Value="plywood.jp2"/>
</Section>
<Section Name="Map Base Texture">
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000006"/>
<Key Name="name" Value="Map Base Texture"/>

View File

@ -540,7 +540,7 @@
<Key Name="basePermissions" Value="2147483647" />
</Section>
<Section Name="bricks Texture">
<Key Name="inventoryID" Value="00000000-0000-1111-9999-000000000001"/>
<Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000001"/>
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000001"/>
<Key Name="description" Value="bricks texture" />
<Key Name="name" Value="bricks" />
@ -552,7 +552,7 @@
<Key Name="basePermissions" Value="2147483647" />
</Section>
<Section Name="granite Texture">
<Key Name="inventoryID" Value="00000000-0000-1111-9999-000000000004"/>
<Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000004"/>
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000004"/>
<Key Name="description" Value="granite texture" />
<Key Name="name" Value="granite" />
@ -564,7 +564,7 @@
<Key Name="basePermissions" Value="2147483647" />
</Section>
<Section Name="hardwood Texture">
<Key Name="inventoryID" Value="00000000-0000-1111-9999-000000000005"/>
<Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000005"/>
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000005"/>
<Key Name="description" Value="hardwood texture" />
<Key Name="name" Value="hardwood" />
@ -576,8 +576,8 @@
<Key Name="basePermissions" Value="2147483647" />
</Section>
<Section Name="plywood Texture">
<Key Name="inventoryID" Value="00000000-0000-1111-9999-000000000002"/>
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000002"/>
<Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000002"/>
<Key Name="assetID" Value="89556747-24cb-43ed-920b-47caed15465f"/>
<Key Name="description" Value="plywood texture" />
<Key Name="name" Value="plywood" />
<Key Name="assetType" Value="0" />
@ -588,7 +588,7 @@
<Key Name="basePermissions" Value="2147483647" />
</Section>
<Section Name="rocks Texture">
<Key Name="inventoryID" Value="00000000-0000-1111-9999-000000000003"/>
<Key Name="inventoryID" Value="00000000-0000-2222-9999-000000000003"/>
<Key Name="assetID" Value="00000000-0000-1111-9999-000000000003"/>
<Key Name="description" Value="rocks texture" />
<Key Name="name" Value="rocks" />

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.