diff --git a/crates/path/Cargo.toml b/crates/path/Cargo.toml index 05f51f0f..6f737476 100644 --- a/crates/path/Cargo.toml +++ b/crates/path/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lyon_path" -version = "1.0.4" +version = "1.0.5" description = "Types and utilities to store, build and iterate over 2D paths." authors = ["Nicolas Silva "] repository = "https://github.com/nical/lyon" diff --git a/crates/path/src/path_buffer.rs b/crates/path/src/path_buffer.rs index db9b437e..2f717009 100644 --- a/crates/path/src/path_buffer.rs +++ b/crates/path/src/path_buffer.rs @@ -94,6 +94,7 @@ impl PathBuffer { pub fn clear(&mut self) { self.points.clear(); self.verbs.clear(); + self.paths.clear(); } #[inline]