Clockmender / Precision-Drawing-Tools

Precision Drawing Tools (PDT) Add-on for Blender 2.8 and above
GNU General Public License v3.0
144 stars 16 forks source link

Create a pdt_debug function which can be toggled on/off in the PDT Add-on preference panel #11

Closed ermo closed 4 years ago

ermo commented 4 years ago

Is your feature request related to a problem? Please describe. Having well judged debug prints sprinkled around in the code can be very useful during development. However, having to comment and uncomment them before and after each release will become annoying and error prone.

Describe the solution you'd like Have a pdt_debug(msg) function that calls print(prefix, msg) depending on whether a new 'print debug info' checkbox is selected in the PDT add-on preference panel.

Describe alternatives you've considered None.

Additional context None.

Clockmender commented 4 years ago

I agree this enhancement. @Ermo please implement at your convenience!

This need not delay 1.1.5-rc3.