Skip to content

Commit 2718e76

Browse files
committed
wire-up-render-extrusion-and-render-tubes
1 parent 8a52230 commit 2718e76

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/webgl-preview.ts

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

467467
private renderGeometries(paths = this.job.extrusions): void {
468+
if (!this.renderExtrusion || !this.renderTubes) {
469+
return;
470+
}
471+
468472
if (Object.keys(this._geometries).length === 0 && this.renderTubes) {
469473
let color: number;
470474
paths.forEach((path) => {

0 commit comments

Comments
 (0)