BirthT / BeltPrinterSlicing

This is a plugin for using a belt printer with the latest Cura.
GNU Lesser General Public License v3.0
19 stars 11 forks source link

Avoiding access to uninitialized variable #13

Closed delfinof closed 2 years ago

delfinof commented 2 years ago

In line 194 the variable last_point_hit_wall could be accessed without being previously initialized. It looks safer for me to initialize it at false at the beginning of the run loop.

I was indeed running in exceptions during the preview of some models.