Unflattening the picture was obviously failing because we didn't rewind
the stream after Flattening. Now Unflattening works, but the picture seems to be empty git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20270 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0098867364
commit
3bf72bcb7c
@ -116,6 +116,7 @@ PictureView::AllAttached()
|
||||
if (status != B_OK)
|
||||
printf("Error flattening BPicture: %s\n", strerror(status));
|
||||
if (status == B_OK) {
|
||||
stream.Seek(0, SEEK_SET);
|
||||
fPicture = new BPicture();
|
||||
status = fPicture->Unflatten(&stream);
|
||||
if (status != B_OK)
|
||||
|
Loading…
Reference in New Issue
Block a user