mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
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.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
db9d9d83eb
commit
fc89bde044
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user