aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs')
-rw-r--r--OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs b/OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs
index e025293..dc3402e 100644
--- a/OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs
+++ b/OpenSim.Scripting.EmbeddedJVM/InterpreterMethods.cs
@@ -71,11 +71,12 @@ namespace OpenSim.Scripting.EmbeddedJVM
71 BaseType bs1 = this._mThread.currentFrame.OpStack.Pop(); 71 BaseType bs1 = this._mThread.currentFrame.OpStack.Pop();
72 if (bs1 is Int) 72 if (bs1 is Int)
73 { 73 {
74 Console.WriteLine("get entity pos for " + ((Int)bs1).mValue); 74 //Console.WriteLine("get entity pos for " + ((Int)bs1).mValue);
75 //should get the position of the entity from the IScriptAPI 75 //should get the position of the entity from the IScriptAPI
76 OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue); 76 OSVector3 vec3 = Thread.OpenSimScriptAPI.GetEntityPosition((uint)((Int)bs1).mValue);
77 Float pos = new Float(); 77 Float pos = new Float();
78 pos.mValue = vec3.X; 78 pos.mValue = vec3.X;
79 // Console.WriteLine("returned x value " + vec3.X.ToString());
79 this._mThread.currentFrame.OpStack.Push(pos); 80 this._mThread.currentFrame.OpStack.Push(pos);
80 } 81 }
81 this._mThread.PC += 2; 82 this._mThread.PC += 2;