mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
fix missing bottom surface in viewer (#1899)
* Update Korean translation * 1. Fix blank button text after translation 2. Fix some mistranslated korean * -fix bottom surface in gcode viewer -update korean translation
This commit is contained in:
parent
ff925783de
commit
dee6120c34
3 changed files with 22 additions and 12 deletions
|
@ -176,18 +176,20 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
|
|||
|
||||
params.extrusion_role = erInternalInfill;
|
||||
if (is_bridge) {
|
||||
if(surface.is_internal_bridge())
|
||||
if (surface.is_internal_bridge())
|
||||
params.extrusion_role = erInternalBridgeInfill;
|
||||
else
|
||||
params.extrusion_role = erBridgeInfill;
|
||||
} else if (surface.is_solid()) {
|
||||
if (surface.is_top()) {
|
||||
params.extrusion_role = erTopSolidInfill;
|
||||
} else if (surface.is_bottom()) {
|
||||
params.extrusion_role = erBottomSurface;
|
||||
} else {
|
||||
params.extrusion_role = erSolidInfill;
|
||||
}
|
||||
}
|
||||
params.bridge_angle = float(surface.bridge_angle);
|
||||
params.bridge_angle = float(surface.bridge_angle);
|
||||
params.angle = float(Geometry::deg2rad(region_config.infill_direction.value));
|
||||
|
||||
// Calculate the actual flow we'll be using for this infill.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue