diff options
Diffstat (limited to 'indra/newview/llpreviewnotecard.cpp')
-rw-r--r-- | indra/newview/llpreviewnotecard.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp index a37ed692b1..6b8cc626ee 100644 --- a/indra/newview/llpreviewnotecard.cpp +++ b/indra/newview/llpreviewnotecard.cpp @@ -91,8 +91,12 @@ LLPreviewNotecard::LLPreviewNotecard(const std::string& name, } } - reshape(curRect.getWidth(), curRect.getHeight(), TRUE); - setRect(curRect); + // only assert shape if not hosted in a multifloater + if (!getHost()) + { + reshape(curRect.getWidth(), curRect.getHeight(), TRUE); + setRect(curRect); + } childSetVisible("lock", FALSE); |