1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-21 04:21:23 +02:00

No longer tries to draw the spool holder if spool is not defined.

This commit is contained in:
Chris Palmer
2016-02-20 22:49:29 +00:00
parent 35df490d6e
commit 2b9c3c994e

View File

@@ -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();