diff options
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
-rwxr-xr-x | indra/newview/llpanellogin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index bd23478694..8c5ad133f5 100755 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -434,6 +434,12 @@ void LLPanelLogin::show(const LLRect &rect, void (*callback)(S32 option, void* user_data), void* callback_data) { +#if 1 + if (!LLPanelLogin::sInstance) + { + new LLPanelLogin(rect, callback, callback_data); + } +#else // instance management if (LLPanelLogin::sInstance) { @@ -445,6 +451,7 @@ void LLPanelLogin::show(const LLRect &rect, } new LLPanelLogin(rect, callback, callback_data); +#endif if( !gFocusMgr.getKeyboardFocus() ) { |