Fix the Rasterize node to not ignore raster graphical data

This commit is contained in:
Keavon Chambers
2025-07-31 01:21:32 -07:00
parent 7e0a274bd1
commit abab145d65
3 changed files with 7 additions and 2 deletions

View File

@@ -245,6 +245,7 @@ where
let resolution = footprint.resolution;
let render_params = RenderParams {
culling_bounds: None,
for_export: true,
..Default::default()
};

View File

@@ -159,11 +159,11 @@ pub struct RenderParams {
pub thumbnail: bool,
/// Don't render the rectangle for an artboard to allow exporting with a transparent background.
pub hide_artboards: bool,
/// Are we exporting? Causes the text above an artboard to be hidden.
/// Are we exporting as a standalone SVG?
pub for_export: bool,
/// Are we generating a mask in this render pass? Used to see if fill should be multiplied with alpha.
pub for_mask: bool,
/// Are we generating a mask for alignment? Used to prevent unnecesary transforms in masks
/// Are we generating a mask for alignment? Used to prevent unnecessary transforms in masks
pub alignment_parent_transform: Option<DAffine2>,
}