mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-09 17:40:14 -06:00
.ai import: Convert to Shape records string entries through the shared dictionary parser
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user