Skip to content

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

.ai import: Convert to Shape records string entries through the shared dictionary parser

bflatastic54b79c02b059
diff --git a/crates/eps/src/import/ai/style.rs b/crates/eps/src/import/ai/style.rs
index 3da062f8d..c2b305bdc 100644
--- a/crates/eps/src/import/ai/style.rs
+++ b/crates/eps/src/import/ai/style.rs
@@ -327,11 +327,6 @@ pub(super) fn art_styles(data: &[u8]) -> HashMap<String, ArtStyle> {
Tok::Word(w) => {
let entry = other_entry.take().flatten();
let op = std::str::from_utf8(w).unwrap_or_default();
- if op == ","
- && let (Some(key), Some(f)) = (entry, filters.last_mut())
- {
- f.kinds.insert(key, Kind::Other);
- }
if op == "[" {
array = Some(vec![]);
continue;