forked from 1b-agent/opencadstudio-upstream
fix(render): draw block-contained 3D faces
This commit is contained in:
1 parent
c8840e2706
commit
8601fd8e4b
7 files changed
+90
-60
No files matched your search
@@ -1156,7 +1156,8 @@ pub fn tessellate(
|
||||
// its face fill into the 2-D buffer, so it drew in wireframe too.
|
||||
let fill_is_3d = matches!(
|
||||
entity,
|
||||
EntityType::PolyfaceMesh(_)
|
||||
EntityType::Face3D(_)
|
||||
| EntityType::PolyfaceMesh(_)
|
||||
| EntityType::PolygonMesh(_)
|
||||
| EntityType::Mesh(_)
|
||||
);
|
||||
@@ -1213,7 +1214,7 @@ pub fn tessellate(
|
||||
taper_widths: Vec::new(),
|
||||
world_width: polyline_band_width(entity),
|
||||
depth_override: None,
|
||||
fill_is_3d: false,
|
||||
fill_is_3d,
|
||||
fill_is_2d_solid: false,
|
||||
render_instance: None,
|
||||
pick_tris,
|
||||
|
||||
Reference in new issue
Block a user