forked from 1b-agent/opencadstudio-upstream
chore: switch acadrust to GitHub source, fix removed is_annotative field
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
e66c7d44da
commit
4b4c0d31d2
3 files changed
+4
-7
No files matched your search
@@ -69,12 +69,8 @@ pub fn tessellate(
|
||||
let anno_scale = {
|
||||
let xdata = &entity.common().extended_data;
|
||||
let is_annotative = if xdata.is_empty() {
|
||||
// Old DXF / no annotation metadata — fall back to group-code-293 flag.
|
||||
match entity {
|
||||
EntityType::Text(t) => t.is_annotative,
|
||||
EntityType::MText(m) => m.is_annotative,
|
||||
_ => true,
|
||||
}
|
||||
// Old DXF / no annotation metadata — treat as annotative.
|
||||
true
|
||||
} else {
|
||||
xdata.get_record("AcAnnoPO").is_some()
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user