diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs index 6d8af0b..366751b 100644 --- a/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/DynamicTexture/DynamicTextureModule.cs | |||
@@ -350,8 +350,11 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture | |||
350 | 350 | ||
351 | part.UpdateTexture(tmptex); | 351 | part.UpdateTexture(tmptex); |
352 | 352 | ||
353 | // scene.CommsManager.AssetCache.ExpireAsset(oldID); | 353 | if (Face == ALL_SIDES) |
354 | scene.AssetService.Delete(oldID.ToString()); | 354 | { |
355 | // scene.CommsManager.AssetCache.ExpireAsset(oldID); | ||
356 | scene.AssetService.Delete(oldID.ToString()); | ||
357 | } | ||
355 | } | 358 | } |
356 | 359 | ||
357 | private byte[] BlendTextures(byte[] frontImage, byte[] backImage, bool setNewAlpha, byte newAlpha) | 360 | private byte[] BlendTextures(byte[] frontImage, byte[] backImage, bool setNewAlpha, byte newAlpha) |