ynput / ayon-applications

AYON addon to maintain applications
Apache License 2.0
3 stars 4 forks source link

Blender: Pass system pythonpath checkbox #19

Open iLLiCiTiT opened 3 weeks ago

iLLiCiTiT commented 3 weeks ago

Description

Adding --python-use-system-env to arguments is the most common issue with blender because a) some don't know it has to be added b) they usually forget.

Suggested solution

Possible solution to this could be to add simple checkbox to blender application variant. Applications manager could just add the argument to arguments if the checkbox is checked. If it would be enabled by default, it would behave 99.99% correctly.

BigRoy commented 3 weeks ago

This came up in OpenPype as well - just linking a PR from back then: https://github.com/ynput/OpenPype/pull/5565

It also came with some of its own discussion on whether to do that or not since it may affect e.g. launching through rez etc.