Commented out BMessage::PrintToStream() calls which crash (worked before).
The tests shows that Drawing shapes within BPicture is broken. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -120,7 +120,7 @@ PictureView::AllAttached()
|
||||
|
||||
BMessage message;
|
||||
picture->Archive(&message);
|
||||
message.PrintToStream();
|
||||
//message.PrintToStream();
|
||||
|
||||
BMallocIO stream;
|
||||
|
||||
@@ -134,13 +134,15 @@ PictureView::AllAttached()
|
||||
stream.Seek(0, SEEK_SET);
|
||||
fPicture = new BPicture();
|
||||
status = fPicture->Unflatten(&stream);
|
||||
if (status != B_OK)
|
||||
if (status != B_OK) {
|
||||
printf("Error unflattening BPicture: %s\n", strerror(status));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
BMessage message2;
|
||||
fPicture->Archive(&message2);
|
||||
message2.PrintToStream();
|
||||
//message2.PrintToStream();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user