aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/Engines
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/Engines/CSharp/Examples/ExportRegionToLSL.cs35
1 files changed, 18 insertions, 17 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/Engines/CSharp/Examples/ExportRegionToLSL.cs b/OpenSim/Region/ExtensionsScriptModule/Engines/CSharp/Examples/ExportRegionToLSL.cs
index 529ff6d..00a7df3 100644
--- a/OpenSim/Region/ExtensionsScriptModule/Engines/CSharp/Examples/ExportRegionToLSL.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/Engines/CSharp/Examples/ExportRegionToLSL.cs
@@ -72,22 +72,23 @@ namespace OpenSim.Region.ExtensionsScriptModule.CSharp.Examples
72 }*/ 72 }*/
73 } 73 }
74 74
75 private string processPrimitiveToString(SceneObjectPart prim) 75// TODO: unused
76 { 76// private string processPrimitiveToString(SceneObjectPart prim)
77 /*string desc = prim.Description; 77// {
78 string name = prim.Name; 78// /*string desc = prim.Description;
79 LLVector3 pos = prim.Pos; 79// string name = prim.Name;
80 LLQuaternion rot = new LLQuaternion(prim.Rotation.x, prim.Rotation.y, prim.Rotation.z, prim.Rotation.w); 80// LLVector3 pos = prim.Pos;
81 LLVector3 scale = prim.Scale; 81// LLQuaternion rot = new LLQuaternion(prim.Rotation.x, prim.Rotation.y, prim.Rotation.z, prim.Rotation.w);
82 LLVector3 rootPos = prim.WorldPos; 82// LLVector3 scale = prim.Scale;
83 83// LLVector3 rootPos = prim.WorldPos;
84 string setPrimParams = String.Empty; 84
85 85// string setPrimParams = String.Empty;
86 setPrimParams += "[PRIM_SCALE, " + scale.ToString() + ", PRIM_POS, " + rootPos.ToString() + ", PRIM_ROTATION, " + rot.ToString() + "]\n"; 86
87 87// setPrimParams += "[PRIM_SCALE, " + scale.ToString() + ", PRIM_POS, " + rootPos.ToString() + ", PRIM_ROTATION, " + rot.ToString() + "]\n";
88 return setPrimParams; 88
89 */ 89// return setPrimParams;
90 return System.String.Empty; 90// */
91 } 91// return System.String.Empty;
92// }
92 } 93 }
93} 94}