diff options
author | UbitUmarov | 2016-08-31 09:15:08 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-31 09:15:08 +0100 |
commit | 5afc5fe343172c315adec97cd8348357a196d5d2 (patch) | |
tree | 88d8410c4f32c8505c048dc45e674bb5d9146212 /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | Xengine: remove a no thread safe locking, don't allocate a few objects only n... (diff) | |
download | opensim-SC-5afc5fe343172c315adec97cd8348357a196d5d2.zip opensim-SC-5afc5fe343172c315adec97cd8348357a196d5d2.tar.gz opensim-SC-5afc5fe343172c315adec97cd8348357a196d5d2.tar.bz2 opensim-SC-5afc5fe343172c315adec97cd8348357a196d5d2.tar.xz |
Xengine: try to reduce memory pressure of scripts compile. Still ugly code, possible mistakes, but i need to share it before i loose it :) )
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 6d78f0e..611df58 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -416,7 +416,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
416 | PostEvent(new EventParams("on_rez", | 416 | PostEvent(new EventParams("on_rez", |
417 | new Object[] {new LSL_Types.LSLInteger(StartParam)}, new DetectParams[0])); | 417 | new Object[] {new LSL_Types.LSLInteger(StartParam)}, new DetectParams[0])); |
418 | } | 418 | } |
419 | |||
420 | if (m_stateSource == StateSource.AttachedRez) | 419 | if (m_stateSource == StateSource.AttachedRez) |
421 | { | 420 | { |
422 | PostEvent(new EventParams("attach", | 421 | PostEvent(new EventParams("attach", |
@@ -457,7 +456,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
457 | PostEvent(new EventParams("attach", | 456 | PostEvent(new EventParams("attach", |
458 | new object[] { new LSL_Types.LSLString(m_AttachedAvatar.ToString()) }, new DetectParams[0])); | 457 | new object[] { new LSL_Types.LSLString(m_AttachedAvatar.ToString()) }, new DetectParams[0])); |
459 | } | 458 | } |
460 | |||
461 | } | 459 | } |
462 | } | 460 | } |
463 | 461 | ||