forked from 1b-agent/opencadstudio-upstream
fix(dimension): hide definition markers
Keep direct POINT helpers out of baked dimension pictures while preserving nested arrow block geometry. Refs #864
This commit is contained in:
1 parent
b2b84283ae
commit
2ed4a5d8f3
1 file changed
+4
-1
@@ -818,7 +818,10 @@ fn tessellate_entity_inner(
|
|||||||
graph.walk_insert(
|
graph.walk_insert(
|
||||||
&insert,
|
&insert,
|
||||||
h,
|
h,
|
||||||
|_, _| true,
|
|sub, context| {
|
||||||
|
// Direct POINTs are dimension definition markers.
|
||||||
|
context.insert_path.len() != 1 || !matches!(sub, EntityType::Point(_))
|
||||||
|
},
|
||||||
|sub, context| {
|
|sub, context| {
|
||||||
let has_book_color = view::render::has_resolved_book_color(document, sub);
|
let has_book_color = view::render::has_resolved_book_color(document, sub);
|
||||||
let color_byblock =
|
let color_byblock =
|
||||||
|
|||||||
Reference in new issue
Block a user