PATH-783: Ensuring that the pathfinding console and pathfinding characters floaters cannot be created through getInstanceHandle().
parent
64af571540
commit
b6d42e0b62
|
|
@ -84,7 +84,7 @@ LLHandle<LLFloaterPathfindingCharacters> LLFloaterPathfindingCharacters::getInst
|
|||
{
|
||||
if ( sInstanceHandle.isDead() )
|
||||
{
|
||||
LLFloaterPathfindingCharacters *floaterInstance = LLFloaterReg::getTypedInstance<LLFloaterPathfindingCharacters>("pathfinding_characters");
|
||||
LLFloaterPathfindingCharacters *floaterInstance = LLFloaterReg::findTypedInstance<LLFloaterPathfindingCharacters>("pathfinding_characters");
|
||||
if (floaterInstance != NULL)
|
||||
{
|
||||
sInstanceHandle = floaterInstance->mSelfHandle;
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ LLHandle<LLFloaterPathfindingConsole> LLFloaterPathfindingConsole::getInstanceHa
|
|||
{
|
||||
if (sInstanceHandle.isDead())
|
||||
{
|
||||
LLFloaterPathfindingConsole *floaterInstance = LLFloaterReg::getTypedInstance<LLFloaterPathfindingConsole>("pathfinding_console");
|
||||
LLFloaterPathfindingConsole *floaterInstance = LLFloaterReg::findTypedInstance<LLFloaterPathfindingConsole>("pathfinding_console");
|
||||
if (floaterInstance != NULL)
|
||||
{
|
||||
sInstanceHandle = floaterInstance->mSelfHandle;
|
||||
|
|
|
|||
Loading…
Reference in New Issue