Clean up build warnings
Resolve all compiler warnings across daw-backend, lightningbeam-core, and lightningbeam-editor: - Delete dead code: the superseded CPU raster tools in raster_tool.rs (EffectBrush/Smudge/Gradient/Transform/Warp/Liquify/Selection — replaced by the GPU path), plus orphaned helpers and never-read struct fields. - Mechanical fixes: drop unused imports/variables/mut, underscore unused params, `drop(&x)` -> `let _ = x`, deprecated egui::Rounding -> CornerRadius, snake_case rename, elided-lifetime Cow<'_, [u8]>. - Keep the WIP CSS theming system (theme.rs/theme_render.rs) under #[allow(dead_code)] rather than deleting it. Editor checks warning-free; 293 core tests pass.
This commit is contained in:
@@ -17,8 +17,6 @@ pub struct DocumentHint {
|
||||
pub has_raster: bool,
|
||||
pub has_vector: bool,
|
||||
pub current_time: f64,
|
||||
pub doc_width: u32,
|
||||
pub doc_height: u32,
|
||||
}
|
||||
|
||||
/// Export type selection
|
||||
@@ -577,7 +575,7 @@ impl ExportDialog {
|
||||
|
||||
if ui.button("Choose location...").clicked() {
|
||||
let ext = self.current_extension();
|
||||
let mut dialog = rfd::FileDialog::new()
|
||||
let dialog = rfd::FileDialog::new()
|
||||
.set_directory(&self.output_dir)
|
||||
.set_file_name(&self.output_filename)
|
||||
.add_filter(ext.to_uppercase(), &[ext]);
|
||||
|
||||
Reference in New Issue
Block a user