mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 08:25:44 +08:00
cosmetics
This commit is contained in:
@@ -421,6 +421,9 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture
|
||||
{
|
||||
UUID oldID;
|
||||
|
||||
if( Face == -9999)
|
||||
return UUID.Zero;
|
||||
|
||||
lock (part)
|
||||
{
|
||||
// mostly keep the values from before
|
||||
@@ -538,11 +541,9 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture
|
||||
|
||||
UUID oldID = UpdatePart(part, asset.FullID);
|
||||
|
||||
if (!oldID.IsZero() && ((Disp & DISP_EXPIRE) != 0))
|
||||
if ((Disp & DISP_EXPIRE) != 0 && oldID.IsNotZero() )
|
||||
{
|
||||
if (oldAsset == null)
|
||||
oldAsset = scene.AssetService.Get(oldID.ToString());
|
||||
|
||||
oldAsset ??= scene.AssetService.Get(oldID.ToString());
|
||||
if (oldAsset != null)
|
||||
{
|
||||
if (oldAsset.Temporary)
|
||||
|
||||
Reference in New Issue
Block a user