aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs19
1 files changed, 14 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index e93a7d7..dee195a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1154,12 +1154,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1154 1154
1155 //Texture draw functions 1155 //Texture draw functions
1156 1156
1157 public string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y) 1157 public string osDrawResetTransform(string drawList)
1158 { 1158 {
1159 CheckThreatLevel(); 1159 CheckThreatLevel();
1160
1161 m_host.AddScriptLPS(1); 1160 m_host.AddScriptLPS(1);
1162 drawList += "TransTransf " + x + "," + y + ";"; 1161 drawList += "ResetTransf;";
1163 return drawList; 1162 return drawList;
1164 } 1163 }
1165 1164
@@ -1171,11 +1170,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1171 return drawList; 1170 return drawList;
1172 } 1171 }
1173 1172
1174 public string osDrawResetTransform(string drawList) 1173 public string osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y)
1175 { 1174 {
1176 CheckThreatLevel(); 1175 CheckThreatLevel();
1176
1177 m_host.AddScriptLPS(1); 1177 m_host.AddScriptLPS(1);
1178 drawList += "ResetTransf;"; 1178 drawList += "ScaleTransf " + x + "," + y + ";";
1179 return drawList;
1180 }
1181
1182 public string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y)
1183 {
1184 CheckThreatLevel();
1185
1186 m_host.AddScriptLPS(1);
1187 drawList += "TransTransf " + x + "," + y + ";";
1179 return drawList; 1188 return drawList;
1180 } 1189 }
1181 1190