[sldev] Quirk in llviewerwindow / VWR-804
Nicholaz Beresford
nicholaz at blueflash.cc
Mon May 21 23:33:12 PDT 2007
In llviewerwindow.cpp when gIMView is created it is not set as a child
window to mRootView. This is necessary to delete gIMView when mRootView
is destroyed (that'd the way it's done with other views created here and
the comment in destructor indicates the same).
https://jira.secondlife.com/browse/VWR-804
Patch attached
-------------- next part --------------
--- linden-orig/indra/newview/llviewerwindow.cpp 2007-05-14 16:47:26.000000000 +0200
+++ linden/indra/newview/llviewerwindow.cpp 2007-05-22 02:18:42.078125000 +0200
@@ -1877,6 +1877,7 @@
gIMView = new LLIMView("gIMView", LLRect() );
gIMView->setFollowsAll();
+ mRootView->addChild(gIMView); // FIX: IM Window should be added as child to get deleted [Nicholaz Beresford]
LLRect morph_view_rect = full_window;
morph_view_rect.stretch( -STATUS_BAR_HEIGHT );
More information about the SLDev
mailing list