aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs
diff options
context:
space:
mode:
authorlbsa712007-06-20 15:18:54 +0000
committerlbsa712007-06-20 15:18:54 +0000
commit64ed1e1b3bea2b187679a7e61a7d56292c47daab (patch)
tree6757719377b1cfd0300e9ff47eba543f5236be26 /OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs
parent* re-added SimpleApp projects (diff)
downloadopensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.zip
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.gz
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.bz2
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.xz
* Removed ClientThreads from avatar
* Deleted SimpleApp2 as it's getting wonkier and wonkier by the minute * Added avatar handling to SimpleApp, still don't have any avatar out on the playing field * Removed some warnings * Went from IWorld to Scene *
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs')
-rw-r--r--OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs
index 50df16e..6317e43 100644
--- a/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs
+++ b/OpenSim/OpenSim.Region/Scenes/Scene.Scripting.cs
@@ -107,7 +107,7 @@ namespace OpenSim.Region.Scenes
107 { 107 {
108 if(this.scriptEngines.ContainsKey(scriptType)) 108 if(this.scriptEngines.ContainsKey(scriptType))
109 { 109 {
110 this.scriptEngines[scriptType].LoadScript(script, scriptName, ent.localid); 110 this.scriptEngines[scriptType].LoadScript(script, scriptName, ent.LocalId);
111 } 111 }
112 } 112 }
113 113
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Scenes
124 // Console.WriteLine("script- getting entity " + localID + " position"); 124 // Console.WriteLine("script- getting entity " + localID + " position");
125 foreach (Entity entity in this.Entities.Values) 125 foreach (Entity entity in this.Entities.Values)
126 { 126 {
127 if (entity.localid == localID) 127 if (entity.LocalId == localID)
128 { 128 {
129 res.X = entity.Pos.X; 129 res.X = entity.Pos.X;
130 res.Y = entity.Pos.Y; 130 res.Y = entity.Pos.Y;
@@ -145,7 +145,7 @@ namespace OpenSim.Region.Scenes
145 { 145 {
146 foreach (Entity entity in this.Entities.Values) 146 foreach (Entity entity in this.Entities.Values)
147 { 147 {
148 if (entity.localid == localID && entity is Primitive) 148 if (entity.LocalId == localID && entity is Primitive)
149 { 149 {
150 LLVector3 pos = entity.Pos; 150 LLVector3 pos = entity.Pos;
151 pos.X = x; 151 pos.X = x;
@@ -171,7 +171,7 @@ namespace OpenSim.Region.Scenes
171 { 171 {
172 if (entity is Avatar) 172 if (entity is Avatar)
173 { 173 {
174 res = entity.localid; 174 res = entity.LocalId;
175 } 175 }
176 } 176 }
177 return res; 177 return res;