Mantis 6108: ossetprimitiveparams temporary/phantom problem

Corrected to ensure that the target prim is updated by
osSetPrimitiveParams when setting PRIM_TEMP_ON_REZ and/or PRIM_PHANTOM
instead of the prim that the script is in.
cpu-performance
Talun 2013-06-13 22:57:09 +01:00 committed by Justin Clark-Casey (justincc)
parent db9d9d83eb
commit fc89bde044
1 changed files with 2 additions and 2 deletions

View File

@ -7725,7 +7725,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return null;
string ph = rules.Data[idx++].ToString();
m_host.ParentGroup.ScriptSetPhantomStatus(ph.Equals("1"));
part.ParentGroup.ScriptSetPhantomStatus(ph.Equals("1"));
break;
@ -7764,7 +7764,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return null;
string temp = rules.Data[idx++].ToString();
m_host.ParentGroup.ScriptSetTemporaryStatus(temp.Equals("1"));
part.ParentGroup.ScriptSetTemporaryStatus(temp.Equals("1"));
break;