From 2b9c3c994e4ff62ab74006e75ae30f907a6908dc Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Sat, 20 Feb 2016 22:49:29 +0000 Subject: [PATCH] No longer tries to draw the spool holder if spool is not defined. --- scad/main.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scad/main.scad b/scad/main.scad index 7669f27..453a8c2 100644 --- a/scad/main.scad +++ b/scad/main.scad @@ -905,7 +905,7 @@ module machine_assembly(show_bed = true, show_heatshield = true, show_spool = tr if(raspberry_pi_camera) raspberry_pi_camera_assembly(); - if(show_spool) { + if(show_spool && spool) { spool_assembly(left_stay_x, right_stay_x); if(light_strip && !raspberry_pi_camera) light_strip_assembly();