diff options
Diffstat (limited to '')
-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 e83bc2d..8b3014b 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -575,6 +575,11 @@ void set_underclothes_menu_options() | |||
575 | 575 | ||
576 | void init_menus() | 576 | void init_menus() |
577 | { | 577 | { |
578 | if (gMenuHolder) | ||
579 | { | ||
580 | cleanup_menus(); | ||
581 | } | ||
582 | |||
578 | S32 top = gViewerWindow->getRootView()->getRect().getHeight(); | 583 | S32 top = gViewerWindow->getRootView()->getRect().getHeight(); |
579 | S32 width = gViewerWindow->getRootView()->getRect().getWidth(); | 584 | S32 width = gViewerWindow->getRootView()->getRect().getWidth(); |
580 | 585 | ||