Restore imports that the cadcraft batch dropped so the engine compiles

The batch replaced glob imports with explicit lists that missed names
the files still use, and pointed some sub-module imports at the wrong
level. Restore the required imports and the test module globs.
This commit is contained in:
Dylan M. Taylor
2026-10-24 21:08:47 -04:00
parent f50dce03bd
commit d2ef3eaefb
3 changed files with 4 additions and 3 deletions
@@ -1,6 +1,7 @@
//! PEDIT Edit vertex: Break and Straighten between two marked vertices, Tangent directions
//! that Fit honours, and Regen.
use super::super::{point_value};
use super::{
EntityKind, Handle, Input, LwPolyline, PPhase, PeditM, PolyVertex, Result, Session, Value, Vec2, bad, curves, json, other, push_entity, set_kind,
};
@@ -6,6 +6,7 @@
//! parametrisation, end tangents and fit tolerance. Control-point edits change the curve
//! directly and drop the fit data, as the curve no longer follows it.
use super::super::{point_value, points_param};
use super::{
Accept, Entity, EntityKind, Handle, Input, Interactive, LwPolyline, MAX_GEN, PolyVertex, Prompt, Result, SelOutcome, SelectPhase, Session, Space,
Spline, Step, Value, Vec2, bad, bool_or, curves, f64_req, json, line, number, other, point_req, set_kind, str_param, targets,
+2 -3
View File
@@ -8,8 +8,7 @@
use serde_json::{Map, Value, json};
use super::{CommandSpec, bad};
use super::*;
use crate::{Result, Session, Settings};
/// The profile variables, in the order [`profile`] lists them.
@@ -178,7 +177,7 @@ fn run_options(s: &mut Session, p: &Value) -> Result<Value> {
#[cfg(test)]
mod tests {
use super::{CommandSpec, bad};
use super::*;
#[test]
fn every_profile_var_round_trips_through_restore() {