diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 4012505..fb69389 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -546,6 +546,11 @@ void LLMenuParcelObserver::changed() | |||
546 | // code required to calculate anything about the menus | 546 | // code required to calculate anything about the menus |
547 | void pre_init_menus() | 547 | void pre_init_menus() |
548 | { | 548 | { |
549 | if (gMenuHolder) | ||
550 | { | ||
551 | cleanup_menus(); | ||
552 | } | ||
553 | |||
549 | // static information | 554 | // static information |
550 | LLColor4 color; | 555 | LLColor4 color; |
551 | color = gColors.getColor( "MenuDefaultBgColor" ); | 556 | color = gColors.getColor( "MenuDefaultBgColor" ); |