From ca42db2ea1f1df50a8466e2314271eb68530f666 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 26 Oct 2016 17:44:46 +0200 Subject: [PATCH] FIRE-4804: rezplat command always rezzes under agent group, not under land group if RezUnderLandGroup is TRUE --- indra/newview/chatbar_as_cmdline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/chatbar_as_cmdline.cpp b/indra/newview/chatbar_as_cmdline.cpp index 4de37f7992..ab971c9a05 100644 --- a/indra/newview/chatbar_as_cmdline.cpp +++ b/indra/newview/chatbar_as_cmdline.cpp @@ -1714,7 +1714,7 @@ void cmdline_rezplat(bool use_saved_value, F32 visual_radius) //cmdline_rezplat( msg->nextBlockFast(_PREHASH_AgentData); msg->addUUIDFast(_PREHASH_AgentID, gAgentID); msg->addUUIDFast(_PREHASH_SessionID, gAgentSessionID); - msg->addUUIDFast(_PREHASH_GroupID, gAgent.getGroupID()); + msg->addUUIDFast(_PREHASH_GroupID, FSCommon::getGroupForRezzing()); msg->nextBlockFast(_PREHASH_ObjectData); msg->addU8Fast(_PREHASH_PCode, LL_PCODE_VOLUME); msg->addU8Fast(_PREHASH_Material, LL_MCODE_METAL);