@@ -429,6 +429,7 @@ BBitmap::Archive(BMessage* data, bool deep) const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Note: R5 does not archive the data if B_BITMAP_IS_CONTIGUOUS is
|
// Note: R5 does not archive the data if B_BITMAP_IS_CONTIGUOUS is
|
||||||
// true and it does save all formats as B_RAW_TYPE and it does save
|
// true and it does save all formats as B_RAW_TYPE and it does save
|
||||||
// the data even if B_BITMAP_ACCEPTS_VIEWS is set (as opposed to
|
// the data even if B_BITMAP_ACCEPTS_VIEWS is set (as opposed to
|
||||||
@@ -437,8 +438,6 @@ BBitmap::Archive(BMessage* data, bool deep) const
|
|||||||
const_cast<BBitmap*>(this)->_AssertPointer();
|
const_cast<BBitmap*>(this)->_AssertPointer();
|
||||||
ret = data->AddData("_data", B_RAW_TYPE, fBasePointer, fSize);
|
ret = data->AddData("_data", B_RAW_TYPE, fBasePointer, fSize);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user