diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 86e8200..5663048 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6272,6 +6272,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6272 | ps.BurstPartCount = 1; | 6272 | ps.BurstPartCount = 1; |
6273 | ps.BlendFuncSource = ScriptBaseClass.PSYS_PART_BF_SOURCE_ALPHA; | 6273 | ps.BlendFuncSource = ScriptBaseClass.PSYS_PART_BF_SOURCE_ALPHA; |
6274 | ps.BlendFuncDest = ScriptBaseClass.PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA; | 6274 | ps.BlendFuncDest = ScriptBaseClass.PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA; |
6275 | ps.PartStartGlow = 0.0f; | ||
6276 | ps.PartEndGlow = 0.0f; | ||
6275 | 6277 | ||
6276 | return ps; | 6278 | return ps; |
6277 | } | 6279 | } |
@@ -6396,6 +6398,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6396 | prules.BlendFuncDest = (byte)tmpi; | 6398 | prules.BlendFuncDest = (byte)tmpi; |
6397 | break; | 6399 | break; |
6398 | 6400 | ||
6401 | case (int)ScriptBaseClass.PSYS_PART_START_GLOW: | ||
6402 | tempf = (float)rules.GetLSLFloatItem(i + 1); | ||
6403 | prules.PartStartGlow = (float)tempf; | ||
6404 | break; | ||
6405 | |||
6406 | case (int)ScriptBaseClass.PSYS_PART_END_GLOW: | ||
6407 | tempf = (float)rules.GetLSLFloatItem(i + 1); | ||
6408 | prules.PartEndGlow = (float)tempf; | ||
6409 | break; | ||
6410 | |||
6399 | case (int)ScriptBaseClass.PSYS_SRC_TEXTURE: | 6411 | case (int)ScriptBaseClass.PSYS_SRC_TEXTURE: |
6400 | prules.Texture = ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, rules.GetLSLStringItem(i + 1)); | 6412 | prules.Texture = ScriptUtils.GetAssetIdFromKeyOrItemName(m_host, rules.GetLSLStringItem(i + 1)); |
6401 | break; | 6413 | break; |