Skip to content

Commit

Permalink
Convert max-image-subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 6, 2025
1 parent 3592edd commit badc2bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ impl PerStoreChunkSubscriber for MaxImageDimensionsStoreSubscriber {

fn size_from_blob(blob: &[u8], media_type: Option<MediaType>) -> Option<[u32; 2]> {
re_tracing::profile_function!();

let media_type = MediaType::or_guess_from_data(media_type, blob)?;

if media_type.is_image() {
Expand Down
1 change: 1 addition & 0 deletions rerun_py/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ impl PyRecordingView {
/// This schema will only contain the columns that are included in the view via
/// the view contents.
fn schema(&self, py: Python<'_>) -> PyResult<PySchema> {
#![allow(clippy::unnecessary_wraps)] // In case of feature != "remote"
match &self.recording {
PyRecordingHandle::Local(recording) => {
let borrowed: PyRef<'_, PyRecording> = recording.borrow(py);
Expand Down

0 comments on commit badc2bc

Please sign in to comment.