From 769c6a2e0389fe42499af1432b85b6e8286f06aa Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sat, 16 Mar 2019 20:32:23 -0400 Subject: [PATCH] Fix Region Restart floater not showing Region name --- indra/newview/llfloaterregionrestarting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloaterregionrestarting.cpp b/indra/newview/llfloaterregionrestarting.cpp index 26e0da4d6..3064425e4 100644 --- a/indra/newview/llfloaterregionrestarting.cpp +++ b/indra/newview/llfloaterregionrestarting.cpp @@ -100,12 +100,12 @@ LLFloaterRegionRestarting::LLFloaterRegionRestarting(const LLSD& key) : LLEventTimer(1) , mRestartSeconds(NULL) , mSeconds(key["SECONDS"].asInteger()) +, mName(key.has("NAME") ? key["NAME"].asString() : gAgent.getRegion()->getName()) // , mShakeIterations() , mShakeMagnitude() { //buildFromFile("floater_region_restarting.xml"); LLUICtrlFactory::getInstance()->buildFloater(this, "floater_region_restarting.xml"); - mName = key.has("NAME") ? key["NAME"].asString() : gAgent.getRegion()->getName(); // center(); }