From d451dddcd0e061cd5aa326cb08d6e24e08817dcc Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 9 Aug 2007 17:54:22 +0000 Subject: Start of replacing the old SceneObject/Primitive classes with the new versions. PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.) Also this revision may not work on mono, but that will be fixed soon. --- .../Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples') diff --git a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs index d5566b7..97b1ada 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs @@ -26,7 +26,7 @@ namespace OpenSim.Region.Scripting.Examples void ProcessConsoleMsg(string[] args) { - if (args[0].ToLower() == "lslexport") + /*if (args[0].ToLower() == "lslexport") { string sequence = ""; @@ -48,12 +48,12 @@ namespace OpenSim.Region.Scripting.Examples } System.Console.WriteLine(sequence); - } + }*/ } string processPrimitiveToString(OpenSim.Region.Environment.Scenes.Primitive prim) { - string desc = prim.Description; + /*string desc = prim.Description; string name = prim.Name; LLVector3 pos = prim.Pos; LLQuaternion rot = new LLQuaternion(prim.Rotation.x, prim.Rotation.y, prim.Rotation.z, prim.Rotation.w); @@ -65,6 +65,8 @@ namespace OpenSim.Region.Scripting.Examples setPrimParams += "[PRIM_SCALE, " + scale.ToString() + ", PRIM_POS, " + rootPos.ToString() + ", PRIM_ROTATION, " + rot.ToString() + "]\n"; return setPrimParams; + */ + return ""; } } } \ No newline at end of file -- cgit v1.1