Basically revert r37824 (minus restoring the origin), since it causes other

problems (#6415 for example).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2010-08-02 08:04:33 +00:00
parent 7283e760ab
commit bb69cd6548
2 changed files with 0 additions and 2 deletions

View File

@ -516,7 +516,6 @@ draw_picture(View* view, BPoint where, int32 token)
= view->Window()->ServerWindow()->App()->GetPicture(token);
if (picture != NULL) {
BPoint origin = view->DrawingOrigin();
view->ConvertToScreenForDrawing(&where);
view->SetDrawingOrigin(where);
view->PushState();
picture->Play(view);

View File

@ -2786,7 +2786,6 @@ ServerWindow::_DispatchViewDrawingMessage(int32 code,
// state makes sure that everything the picture
// does is relative to the global picture offset.
BPoint origin = fCurrentView->DrawingOrigin();
fCurrentView->ConvertToScreenForDrawing(&where);
fCurrentView->SetDrawingOrigin(where);
fCurrentView->PushState();