Mantis#1859. Thank you kindly, Lmmz for a patch that:

Implements llForceMouselook().
This commit is contained in:
Charles Krinke
2008-08-01 02:33:28 +00:00
parent 43f3b9ad7b
commit ab778c4114
4 changed files with 44 additions and 7 deletions

View File

@@ -4609,13 +4609,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llSetCameraEyeOffset(LSL_Types.Vector3 offset)
{
m_host.AddScriptLPS(1);
NotImplemented("llSetCameraEyeOffset");
m_host.SetCameraEyeOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
}
public void llSetCameraAtOffset(LSL_Types.Vector3 offset)
{
m_host.AddScriptLPS(1);
NotImplemented("llSetCameraAtOffset");
m_host.SetCameraAtOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
}
public string llDumpList2String(LSL_Types.list src, string seperator)
@@ -6410,7 +6410,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llForceMouselook(int mouselook)
{
m_host.AddScriptLPS(1);
NotImplemented("llForceMouselook");
m_host.SetForceMouselook(mouselook != 0);
}
public double llGetObjectMass(string id)