From be5d8811be2c1b4caea1d3c4d26506efc86f8fd1 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 9 Dec 2007 23:48:27 +0000 Subject: Added a call to m_host.SendFullUpdateToAllClients(). Thank you to Alondria for suggesting this solution to getting kan-ed#2 to work with the llSetScale call. --- .../DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 00775ec..1b660b8 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs @@ -434,6 +434,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler tmp.Y = (float) scale.Y; tmp.Z = (float) scale.Z; m_host.Scale = tmp; + m_host.SendFullUpdateToAllClients(); return; } @@ -1609,7 +1610,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler break; case (int) PrimitiveRule.PSYS_PART_START_ALPHA: - prules.PartStartColor = (libsecondlife.LLColor)rules[i + 1]; + //what is the cast? prules.PartStartColor = (LSL_Types.Vec)rules[i + 1]; break; case (int) PrimitiveRule.PSYS_PART_END_COLOR: @@ -1617,15 +1618,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler break; case (int) PrimitiveRule.PSYS_PART_END_ALPHA: - prules.PartStartColor = (libsecondlife.LLColor)rules[i + 1]; + //what is the cast? prules.PartStartColor = (LLColor)rules[i + 1]; break; case (int) PrimitiveRule.PSYS_PART_START_SCALE: - prules.PartStartColor = (libsecondlife.LLColor)rules[i + 1]; + //what is the cast? prules.PartStartColor = (LLColor)rules[i + 1]; break; case (int) PrimitiveRule.PSYS_PART_END_SCALE: - prules.PartStartColor = (libsecondlife.LLColor)rules[i + 1]; + //what is the cast? prules.PartStartColor = (LLColor)rules[i + 1]; break; case (int) PrimitiveRule.PSYS_PART_MAX_AGE: -- cgit v1.1