Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Blob Brush: import Document and Node in freehand.rs (#4299 made the imports explicit)

bflatastica76ee5370919
diff --git a/crates/engine/src/cmd/draw2/freehand.rs b/crates/engine/src/cmd/draw2/freehand.rs
index 8d41263f9..2d21e2ff6 100644
--- a/crates/engine/src/cmd/draw2/freehand.rs
+++ b/crates/engine/src/cmd/draw2/freehand.rs
@@ -3,8 +3,9 @@ use super::common::{
within_input_bound,
};
use super::{
- Anchor, Appearance, BTreeSet, BoolOp, Color, EngineError, FillRule, NewArt, NodeId, NodeKind, Paint, PathData, Point, PressureProfile, Result,
- Selection, Session, SimplifyOptions, SubPath, Value, bad, id_param, insert_look, json, number_or, po, remove_each, str_param, switch_or,
+ Anchor, Appearance, BTreeSet, BoolOp, Color, Document, EngineError, FillRule, NewArt, Node, NodeId, NodeKind, Paint, PathData, Point,
+ PressureProfile, Result, Selection, Session, SimplifyOptions, SubPath, Value, bad, id_param, insert_look, json, number_or, po, remove_each,
+ str_param, switch_or,
};
// ---------- Pencil / Paintbrush ----------