Skip to content

Commit b7fffdc

Browse files
committed
wire-up-render-extrusion-and-render-tubes (#228)
1 parent b89e593 commit b7fffdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/webgl-preview.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,10 @@ export class WebGLPreview {
469469
}
470470

471471
private renderGeometries(paths = this.job.extrusions): void {
472+
if (!this.renderExtrusion || !this.renderTubes) {
473+
return;
474+
}
475+
472476
if (Object.keys(this._geometries).length === 0 && this.renderTubes) {
473477
let color: number;
474478
paths.forEach((path) => {

0 commit comments

Comments
 (0)