-
Notifications
You must be signed in to change notification settings - Fork 0
Fusion: Tweak integration implementation #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- OpenPype menu is now available in top-level menu - No scripts are copied to the local Fusion folders, instead Fusion Master Prefs are used - Thus also removes the need for FUSION_UTILITY_SCRIPTS_DIR in settings. - Fixed issue with DLL conflict for Qt library with Fusion's own dlls in starting OpenPype menu.
…s currently thinks its operating
| families = ["animation", | ||
| "camera", | ||
| "imagesequence", | ||
| "render" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing comma at the end.
| families = ["animation", | ||
| "camera", | ||
| "imagesequence", | ||
| "render" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing comma at the end.
| f'{os.environ["FUSION16_PYTHON36_HOME"]}') | ||
|
|
||
| import subprocess | ||
| subprocess.Popen(["pip", "install", "PySide2"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning: This can install into e.g. OpenPype .venv due to not explicitly enough installing into the correct python.
A fix was implemented here: 3d5fd09
|
Closing this in favor of ynput#2769 which contains this and much more. |
Fusion: New Publisher tweaks to PR
Brief description
Draft integration tweaks for Fusion integration.
renderfamily with the loadersFUSION16_PYTHON36_HOMEcan contain a "list of paths" to allow using 'local' Python if it exists, or maybe fall back to e.g. a Python on a network share.Example setting for environment for Fusion in Admin Settings:
{ "FUSION16_PYTHON36_HOME": { "windows": "{LOCALAPPDATA}/Programs/Python/Python36;{NETWORKSHARE}/bin/windows/python36", "darwin": "~/Library/Python/3.6/bin", "linux": "/opt/Python/3.6/bin" }, "PYTHONPATH": [ "{FUSION16_PYTHON36_HOME}/Lib/site-packages", "{VIRTUAL_ENV}/Lib/site-packages", "{PYTHONPATH}" ], "PATH": [ "{FUSION16_PYTHON36_HOME}", "{FUSION16_PYTHON36_HOME}/Scripts", "{PATH}" ], "OPENPYPE_LOG_NO_COLORS": "Yes", "REACTOR": "path/to/Reactor/" }