From 5ad6d5a939fb7bf0fdfdc6925d4afed306e08641 Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 11 Apr 2007 12:13:21 +0000 Subject: First basic test script now works in the jvm scripting engine. For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable. Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim. --- OpenSim.Scripting.EmbeddedJVM/Interpreter.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim.Scripting.EmbeddedJVM/Interpreter.cs') diff --git a/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs b/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs index aeeee0a..b94248c 100644 --- a/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs +++ b/OpenSim.Scripting.EmbeddedJVM/Interpreter.cs @@ -49,6 +49,7 @@ namespace OpenSim.Scripting.EmbeddedJVM else { // Console.WriteLine("No parent function so ending program"); + this._mThread.stack.StackFrames.Pop(); run = false; } handled = true; @@ -71,6 +72,7 @@ namespace OpenSim.Scripting.EmbeddedJVM else { // Console.WriteLine("No parent function so ending program"); + this._mThread.stack.StackFrames.Pop(); run = false; } handled = true; @@ -88,6 +90,7 @@ namespace OpenSim.Scripting.EmbeddedJVM else { // Console.WriteLine("No parent function so ending program"); + this._mThread.stack.StackFrames.Pop(); run = false; } handled = true; -- cgit v1.1