Skip to content

Commit f9dbbc7

Browse files
committed
Remove ignore_modifications which is always false
1 parent 64b3683 commit f9dbbc7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

node-graph/gcore/src/transform.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ pub struct Footprint {
9191
pub resolution: glam::UVec2,
9292
/// Quality of the render, this may be used by caching nodes to decide if the cached render is sufficient
9393
pub quality: RenderQuality,
94-
/// When the transform is set downstream, all upstream modifications have to be ignored
95-
pub ignore_modifications: bool,
9694
}
9795

9896
impl Default for Footprint {
@@ -107,7 +105,6 @@ impl Footprint {
107105
transform: DAffine2::IDENTITY,
108106
resolution: glam::UVec2::new(1920, 1080),
109107
quality: RenderQuality::Full,
110-
ignore_modifications: false,
111108
}
112109
}
113110
pub fn viewport_bounds_in_local_space(&self) -> AxisAlignedBbox {
@@ -178,9 +175,7 @@ async fn transform<T: 'n + 'static>(
178175

179176
let mut ctx = OwnedContextImpl::from(ctx);
180177
if let Some(mut footprint) = footprint {
181-
if !footprint.ignore_modifications {
182-
footprint.apply_transform(&matrix);
183-
}
178+
footprint.apply_transform(&matrix);
184179
ctx = ctx.with_footprint(footprint);
185180
}
186181

0 commit comments

Comments
 (0)