diff --git a/editor/src/messages/portfolio/document/document_message_handler.rs b/editor/src/messages/portfolio/document/document_message_handler.rs index 90e0f49b..34ebb2ac 100644 --- a/editor/src/messages/portfolio/document/document_message_handler.rs +++ b/editor/src/messages/portfolio/document/document_message_handler.rs @@ -767,7 +767,11 @@ impl MessageHandler> for DocumentMessag responses.add(DocumentMessage::AddTransaction); - let image_frame = ImageFrame { image, ..Default::default() }; + let image_frame = ImageFrame { + image, + transform: DAffine2::IDENTITY, + alpha_blending: Default::default(), + }; let layer = graph_modification_utils::new_image_layer(image_frame, layer_node_id, self.new_layer_parent(true), responses); if let Some(name) = name { diff --git a/node-graph/gstd/src/brush.rs b/node-graph/gstd/src/brush.rs index 40876dd1..43f5b4c2 100644 --- a/node-graph/gstd/src/brush.rs +++ b/node-graph/gstd/src/brush.rs @@ -272,7 +272,7 @@ fn brush(_: Footprint, image: ImageFrameTable, bounds: ImageFrameTable ImageFrameTable { ..Default::default() }, transform: DAffine2::from_translation(offset) * DAffine2::from_scale(size), - ..Default::default() + alpha_blending: Default::default(), }; ImageFrameTable::new(result) diff --git a/node-graph/gstd/src/wasm_application_io.rs b/node-graph/gstd/src/wasm_application_io.rs index bdbedda9..f5e31a71 100644 --- a/node-graph/gstd/src/wasm_application_io.rs +++ b/node-graph/gstd/src/wasm_application_io.rs @@ -87,7 +87,8 @@ fn decode_image(_: (), data: Arc<[u8]>) -> ImageFrameTable { height: image.height(), ..Default::default() }, - ..Default::default() + transform: glam::DAffine2::IDENTITY, + alpha_blending: Default::default(), }; ImageFrameTable::new(image) diff --git a/node-graph/interpreted-executor/src/node_registry.rs b/node-graph/interpreted-executor/src/node_registry.rs index dda75861..c37c0eb2 100644 --- a/node-graph/interpreted-executor/src/node_registry.rs +++ b/node-graph/interpreted-executor/src/node_registry.rs @@ -161,7 +161,7 @@ fn node_registry() -> HashMap