diff --git a/crates/ui-egui/src/tools/perspective_crop_ui.rs b/crates/ui-egui/src/tools/perspective_crop_ui.rs index 37340c8fe8b..5516a532484 100644 --- a/crates/ui-egui/src/tools/perspective_crop_ui.rs +++ b/crates/ui-egui/src/tools/perspective_crop_ui.rs @@ -135,7 +135,7 @@ pub(crate) fn drain(app: &mut PhotocraftApp, state: &mut PerspectiveCrop, _respo /// The control reads the frame's keys itself and an applied quad is gone from the tool, so a second pass of the frame /// applies nothing of the first. pub fn body(app: &mut PhotocraftApp, ui: &mut egui::Ui, rect: egui::Rect) { - if app.ui.tool != Tool::PerspectiveCrop || app.session.active().is_none() { + if app.ui.tool != Tool::PerspectiveCrop || app.session.active().is_none() || app.canvas_tools.perspective.tool.quad().is_none() { return; } let input = input(app);