Skip to content

Commit

Permalink
wire-up-render-extrusion-and-render-tubes (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiedeziel authored Oct 16, 2024
1 parent 954c813 commit f56a834
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/webgl-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,10 @@ export class WebGLPreview {
}

private renderGeometries(paths = this.job.extrusions): void {
if (!this.renderExtrusion || !this.renderTubes) {
return;
}

if (Object.keys(this._geometries).length === 0 && this.renderTubes) {
let color: number;
paths.forEach((path) => {
Expand Down

0 comments on commit f56a834

Please sign in to comment.