Skip to content

Commit 24586e7

Browse files
committed
Fix code review stuff
1 parent e5c91fd commit 24586e7

5 files changed

Lines changed: 1 addition & 3 deletions

File tree

-2.5 MB
Binary file not shown.

node-graph/graphene-cli/hackerman.graphite

Lines changed: 0 additions & 1 deletion
This file was deleted.

node-graph/graphene-cli/shine.gif

-5.03 MB
Binary file not shown.

node-graph/libraries/graphene-hash/derive/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ pub fn derive_cache_hash(input: TokenStream) -> TokenStream {
8484
};
8585

8686
quote! {
87-
#[allow(clippy::derived_hash_with_manual_eq)]
8887
impl #impl_generics graphene_hash::CacheHash for #name #ty_generics #where_clause {
8988
fn cache_hash<H: ::core::hash::Hasher>(&self, state: &mut H) {
9089
#body

node-graph/nodes/gstd/src/platform_application_io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn string_to_bytes(_: impl Ctx, string: String) -> Vec<u8> {
120120
#[node_macro::node(category("Web Request"), name("Image to Bytes"))]
121121
fn image_to_bytes(_: impl Ctx, image: Table<Raster<CPU>>) -> Vec<u8> {
122122
let Some(image) = image.iter().next() else { return vec![] };
123-
image.element.data.iter().flat_map(|color| color.to_rgb8_srgb().into_iter()).collect::<Vec<u8>>()
123+
image.element.data.iter().flat_map(|color| color.to_rgba8_srgb().into_iter()).collect::<Vec<u8>>()
124124
}
125125

126126
/// Loads binary from URLs and local asset paths. Returns a transparent placeholder if the resource fails to load, allowing rendering to continue.

0 commit comments

Comments
 (0)