Skip to content

Commit

Permalink
don't add a logo if the path is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
b-kelly committed Jun 4, 2021
1 parent f870fe9 commit 3d001b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions enclosure.scad
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,8 @@ difference()
rotate([0, 0, 0])
facePlate(false);
}
else
else if (len(logoPath) > 0)
{

translate([encWidth - imgDepth, encLength / 2, encHeight / 2]) logo();
}
}
Expand Down

0 comments on commit 3d001b9

Please sign in to comment.