Setting through LLView::userSetShape now done through LLView::setShape. LLView::snappedTo renamed to LLView::setSnappedTo. virtual overriding of LLView::userSetShape now done through LLView::handleReshape which LLView::setShape calls.
This commit is contained in:
@@ -506,7 +506,7 @@ BOOL LLPanel::initPanelXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *f
|
||||
// override rectangle with embedding parameters as provided
|
||||
createRect(node, new_rect, parent);
|
||||
setOrigin(new_rect.mLeft, new_rect.mBottom);
|
||||
reshape(new_rect.getWidth(), new_rect.getHeight());
|
||||
setShape(new_rect);
|
||||
// optionally override follows flags from including nodes
|
||||
parseFollowsFlags(node);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user