techartorg / bqt

A Blender add-on to support & manage Qt Widgets in Blender (PySide2)
https://github.com/techartorg/bqt/wiki
Mozilla Public License 2.0
162 stars 23 forks source link

Small fix to check if bqt is installed to Blender #24

Closed friedererdmann closed 1 year ago

friedererdmann commented 1 year ago

This Pull Request checks if the 'scripts/startup' location exists during the setup of bqt and returns early if it doesn't to avoid breaking the pip installation in case the user installs bqt to a non-Blender python environment (e.g. a virtual environment outside of Blender).