aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-04-09 14:51:18 +0000
committerAdam Frisby2009-04-09 14:51:18 +0000
commit8ee81f98ea093d6bae70ba493a9d11a4ce576622 (patch)
treef6e5395b81f502657c428c8084c1cc32c84cb070 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs
parent* Implements IGraphics interface for MRM Scripting. (diff)
downloadopensim-SC-8ee81f98ea093d6bae70ba493a9d11a4ce576622.zip
opensim-SC-8ee81f98ea093d6bae70ba493a9d11a4ce576622.tar.gz
opensim-SC-8ee81f98ea093d6bae70ba493a9d11a4ce576622.tar.bz2
opensim-SC-8ee81f98ea093d6bae70ba493a9d11a4ce576622.tar.xz
* Implements IObject.Materials[].*
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs
index 4de249f..44bae5c 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Graphics.cs
@@ -25,7 +25,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
25 AssetBase asset = new AssetBase(); 25 AssetBase asset = new AssetBase();
26 asset.FullID = UUID.Random(); 26 asset.FullID = UUID.Random();
27 asset.Data = OpenJPEG.EncodeFromImage(data, lossless); 27 asset.Data = OpenJPEG.EncodeFromImage(data, lossless);
28 asset.Name = "MRMDynamicImage" + Util.RandomClass.Next(1, 10000); 28 asset.Name = "MRMDynamicImage";
29 asset.Type = 0; 29 asset.Type = 0;
30 asset.Description = "MRM Image"; 30 asset.Description = "MRM Image";
31 asset.Local = false; 31 asset.Local = false;