chore: cleanup clippy
This commit is contained in:
@@ -241,7 +241,7 @@ fn gen_model_parts(
|
|||||||
.and_then(|v| v.bounds.get().copied())
|
.and_then(|v| v.bounds.get().copied())
|
||||||
.unwrap_or_default()
|
.unwrap_or_default()
|
||||||
});
|
});
|
||||||
spatial.set_spatial_parent(&parent_spatial);
|
let _ = spatial.set_spatial_parent(&parent_spatial);
|
||||||
spatial.set_local_transform(transform.compute_matrix());
|
spatial.set_local_transform(transform.compute_matrix());
|
||||||
|
|
||||||
spatial.set_entity(entity);
|
spatial.set_entity(entity);
|
||||||
@@ -261,7 +261,9 @@ fn gen_model_parts(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
_ = model.parts.set(parts);
|
_ = model.parts.set(parts);
|
||||||
model.spatial.set_entity(model.bevy_scene_entity.get().unwrap().0);
|
model
|
||||||
|
.spatial
|
||||||
|
.set_entity(model.bevy_scene_entity.get().unwrap().0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ use drm_fourcc::DrmFourcc;
|
|||||||
use mint::Vector2;
|
use mint::Vector2;
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use std::sync::{Arc, OnceLock};
|
use std::sync::{Arc, OnceLock};
|
||||||
use tracing::info;
|
|
||||||
use waynest::server::protocol::stable::linux_dmabuf_v1::zwp_linux_buffer_params_v1::Flags;
|
use waynest::server::protocol::stable::linux_dmabuf_v1::zwp_linux_buffer_params_v1::Flags;
|
||||||
|
|
||||||
/// Parameters for a shared memory buffer
|
/// Parameters for a shared memory buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user